提交 b9937f07 编写于 作者: G guozhanxin

rename sensor_test to sensor_cmd

上级 37d04007
...@@ -245,8 +245,8 @@ config RT_USING_SENSOR ...@@ -245,8 +245,8 @@ config RT_USING_SENSOR
default n default n
if RT_USING_SENSOR if RT_USING_SENSOR
config RT_USING_SENSOR_TEST config RT_USING_SENSOR_CMD
bool "Use Sensor test" bool "Using Sensor cmd"
default y default y
endif endif
......
...@@ -6,8 +6,8 @@ cwd = GetCurrentDir() ...@@ -6,8 +6,8 @@ cwd = GetCurrentDir()
src = ['sensor.c'] src = ['sensor.c']
CPPPATH = [cwd, cwd + '/../include'] CPPPATH = [cwd, cwd + '/../include']
if GetDepend('RT_USING_SENSOR_TEST'): if GetDepend('RT_USING_SENSOR_CMD'):
src += ['sensor_test.c']; src += ['sensor_cmd.c'];
group = DefineGroup('Sensors', src, depend = ['RT_USING_SENSOR', 'RT_USING_DEVICE'], CPPPATH = CPPPATH) group = DefineGroup('Sensors', src, depend = ['RT_USING_SENSOR', 'RT_USING_DEVICE'], CPPPATH = CPPPATH)
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#define DBG_ENABLE #define DBG_ENABLE
#define DBG_LEVEL DBG_INFO #define DBG_LEVEL DBG_INFO
#define DBG_SECTION_NAME "sensor.test" #define DBG_SECTION_NAME "sensor.cmd"
#define DBG_COLOR #define DBG_COLOR
#include <rtdbg.h> #include <rtdbg.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册