modify sensor framework kconfig function

This commit is contained in:
Liu_Weichao
2021-09-08 13:34:25 +08:00
parent 6fc420e6a3
commit 281482855d
20 changed files with 22 additions and 87 deletions

View File

@@ -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

View File

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

View File

@@ -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

View File

@@ -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

View File

@@ -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)

View File

@@ -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

View File

@@ -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