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

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