drivers/sensors/Kconfig: Fix HC-SR04 configuration

Signed-off-by: Rodrigo Sim rcsim10@gmail.com
This commit is contained in:
Rodrigo Sim 2024-05-18 12:28:05 -03:00 committed by Alan Carvalho de Assis
parent 8fb458b7fe
commit 29775f824b
2 changed files with 16 additions and 17 deletions

View File

@ -63,7 +63,6 @@
#include "stm32_hcsr04.h"
#endif
/****************************************************************************
* Public Functions
****************************************************************************/

View File

@ -478,6 +478,22 @@ config SENSORS_HCSR04
---help---
Enable driver support for the HC-SR04 Distance Sensor.
if SENSORS_HCSR04
config HCSR04_DEBUG
bool "Debug support for the HC-SR04"
default n
---help---
Enables debug features for the HC-SR04
config HCSR04_NPOLLWAITERS
int "Number of waiters to poll"
default 1
---help---
Number of waiters to poll
endif # SENSORS_HCSR04
config SENSORS_HYT271
bool "IST HYT271 Humidity and Temperature Sensor support"
default n
@ -506,22 +522,6 @@ config SENSORS_HYT271_THREAD_STACKSIZE
---help---
The stack size for the worker thread.
if SENSORS_HCSR04
config HCSR04_DEBUG
bool "Debug support for the HC-SR04"
default n
---help---
Enables debug features for the HC-SR04
config HCSR04_NPOLLWAITERS
int "Number of waiters to poll"
default 1
---help---
Number of waiters to poll
endif # SENSORS_HCSR04
config SENSORS_ISL29023
bool "Renesas ISL29023 ALS sensor"
default n