Skip to content

Commit d70339d

Browse files
committed
【修改】AT 组件版本判断操作
Signed-off-by: chenyong <[email protected]>
1 parent fe27e52 commit d70339d

15 files changed

+2
-57
lines changed

class/ec20/at_device_ec20.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@
2929

3030
#include <at_device_ec20.h>
3131

32-
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
33-
#error "This AT Client version is older, please check and update latest AT Client!"
34-
#endif
35-
3632
#define LOG_TAG "at.dev"
3733
#include <at_log.h>
3834

class/ec20/at_socket_ec20.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@
2929

3030
#include <at_device_ec20.h>
3131

32-
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
33-
#error "This AT Client version is older, please check and update latest AT Client!"
34-
#endif
35-
3632
#define LOG_TAG "at.skt"
3733
#include <at_log.h>
3834

class/esp8266/at_device_esp8266.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828

2929
#include <at_device_esp8266.h>
3030

31-
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
32-
#error "This AT Client version is older, please check and update latest AT Client!"
33-
#endif
34-
3531
#define LOG_TAG "at.dev"
3632

3733
#include <at_log.h>

class/esp8266/at_socket_esp8266.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828

2929
#include <at_device_esp8266.h>
3030

31-
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
32-
#error "This AT Client version is older, please check and update latest AT Client!"
33-
#endif
34-
3531
#define LOG_TAG "at.skt"
3632
#include <at_log.h>
3733

class/m26/at_device_m26.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828

2929
#include <at_device_m26.h>
3030

31-
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
32-
#error "This AT Client version is older, please check and update latest AT Client!"
33-
#endif
34-
3531
#define LOG_TAG "at.dev"
3632
#include <at_log.h>
3733

class/m26/at_socket_m26.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828

2929
#include <at_device_m26.h>
3030

31-
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
32-
#error "This AT Client version is older, please check and update latest AT Client!"
33-
#endif
34-
3531
#define LOG_TAG "at.dev"
3632
#include <at_log.h>
3733

class/mw31/at_device_mw31.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@
2727

2828
#include <at_device_mw31.h>
2929

30-
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
31-
#error "This AT Client version is older, please check and update latest AT Client!"
32-
#endif
33-
3430
#define LOG_TAG "at.dev"
3531

3632
#include <at_log.h>

class/mw31/at_socket_mw31.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@
2727

2828
#include <at_device_mw31.h>
2929

30-
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
31-
#error "This AT Client version is older, please check and update latest AT Client!"
32-
#endif
33-
3430
#define LOG_TAG "at.skt"
3531
#include <at_log.h>
3632

class/rw007/at_device_rw007.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828

2929
#include <at_device_rw007.h>
3030

31-
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
32-
#error "This AT Client version is older, please check and update latest AT Client!"
33-
#endif
34-
3531
#define LOG_TAG "at.dev"
3632

3733
#include <at_log.h>

class/rw007/at_socket_rw007.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828

2929
#include <at_device_rw007.h>
3030

31-
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
32-
#error "This AT Client version is older, please check and update latest AT Client!"
33-
#endif
34-
3531
#define LOG_TAG "at.skt"
3632
#include <at_log.h>
3733

0 commit comments

Comments
 (0)