فهرست منبع

[component][at] Move at module version number definition to Kconfig file.

armink 6 سال پیش
والد
کامیت
e9ffd2b2ef
2فایلهای تغییر یافته به همراه7 افزوده شده و 2 حذف شده
  1. 7 1
      components/net/at/Kconfig
  2. 0 1
      components/net/at/include/at.h

+ 7 - 1
components/net/at/Kconfig

@@ -76,7 +76,13 @@ if RT_USING_AT
             default n
          
     endif
-    
+
+    config AT_SW_VERSION_NUM
+        int
+        default 0x10100
+        help
+            sfotware module version number
+
 endif
 
 endmenu

+ 0 - 1
components/net/at/include/at.h

@@ -33,7 +33,6 @@ extern "C" {
 #endif
 
 #define AT_SW_VERSION                  "1.1.0"
-#define AT_SW_VERSION_NUM              0x10100
 
 #define DBG_ENABLE
 #define DBG_SECTION_NAME               "AT"