浏览代码

[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"