forked from xuos/xiuos
modify sensor framework kconfig function
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
/**
|
||||
* @file zg09.c
|
||||
* @brief ZG09 CO2 driver base perception
|
||||
* @brief ZG09 CO2 driver base sensor
|
||||
* @version 1.0
|
||||
* @author AIIT XUOS Lab
|
||||
* @date 2021.04.22
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
|
||||
config PERCEPTION_HS300X
|
||||
config SENSOR_HS300X
|
||||
bool "Using HS300x"
|
||||
default n
|
||||
|
||||
if PERCEPTION_HS300X
|
||||
if SENSOR_HS300X
|
||||
config SENSOR_DEVICE_HS300X
|
||||
string "HS300x sensor name"
|
||||
default "hs300x_1"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
/**
|
||||
* @file hs300x_humi.c
|
||||
* @brief HS300x humidity driver base perception
|
||||
* @brief HS300x humidity driver base sensor
|
||||
* @version 1.0
|
||||
* @author AIIT XUOS Lab
|
||||
* @date 2021.04.22
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
/**
|
||||
* @file ps5308.c
|
||||
* @brief PS5308 PM1.0, PM2.5, PM10, driver base perception
|
||||
* @brief PS5308 PM1.0, PM2.5, PM10, driver base sensor
|
||||
* @version 1.0
|
||||
* @author AIIT XUOS Lab
|
||||
* @date 2021.04.22
|
||||
|
||||
@@ -33,7 +33,7 @@ static pthread_mutex_t quant_table_lock;
|
||||
static pthread_mutex_t sensor_device_list_lock;
|
||||
|
||||
/**
|
||||
* @description: Init perception framework
|
||||
* @description: Init sensor framework
|
||||
* @return 0
|
||||
*/
|
||||
int SensorFrameworkInit(void)
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
/**
|
||||
* @file hs300x_temp.c
|
||||
* @brief HS300x temperature driver base perception
|
||||
* @brief HS300x temperature driver base sensor
|
||||
* @version 1.0
|
||||
* @author AIIT XUOS Lab
|
||||
* @date 2021.04.22
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
/**
|
||||
* @file d124.c
|
||||
* @brief D124 voice driver base perception
|
||||
* @brief D124 voice driver base sensor
|
||||
* @version 1.0
|
||||
* @author AIIT XUOS Lab
|
||||
* @date 2021.04.22
|
||||
|
||||
Reference in New Issue
Block a user