rename sensor_test to sensor_cmd
This commit is contained in:
parent
37d0400739
commit
b9937f076b
|
@ -245,8 +245,8 @@ config RT_USING_SENSOR
|
|||
default n
|
||||
|
||||
if RT_USING_SENSOR
|
||||
config RT_USING_SENSOR_TEST
|
||||
bool "Use Sensor test"
|
||||
config RT_USING_SENSOR_CMD
|
||||
bool "Using Sensor cmd"
|
||||
default y
|
||||
endif
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@ cwd = GetCurrentDir()
|
|||
src = ['sensor.c']
|
||||
CPPPATH = [cwd, cwd + '/../include']
|
||||
|
||||
if GetDepend('RT_USING_SENSOR_TEST'):
|
||||
src += ['sensor_test.c'];
|
||||
if GetDepend('RT_USING_SENSOR_CMD'):
|
||||
src += ['sensor_cmd.c'];
|
||||
|
||||
group = DefineGroup('Sensors', src, depend = ['RT_USING_SENSOR', 'RT_USING_DEVICE'], CPPPATH = CPPPATH)
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#define DBG_ENABLE
|
||||
#define DBG_LEVEL DBG_INFO
|
||||
#define DBG_SECTION_NAME "sensor.test"
|
||||
#define DBG_SECTION_NAME "sensor.cmd"
|
||||
#define DBG_COLOR
|
||||
#include <rtdbg.h>
|
||||
|
Loading…
Reference in New Issue