modify sensor framework kconfig function
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user