sensor/l3gd20: optimize Kconfig

N/A

Change-Id: Iabdaf8d5e51a319ebc2e5b64246d3fe0a9e9e229
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
This commit is contained in:
dongjiuzhu
2020-11-19 14:55:06 +08:00
parent 7fc8adf2bc
commit 44b2cd68aa
2 changed files with 1 additions and 4 deletions
+1
View File
@@ -223,6 +223,7 @@ config SENSORS_L3GD20
bool "STMicro L3GD20 Gyroscope Sensor support"
default n
select SPI
select SCHED_HPWORK if SENSORS_L3GD20_BUFFER_SIZE > 0
---help---
Enable driver support for the STMicro L3GD20 gyroscope sensor.
-4
View File
@@ -47,10 +47,6 @@
* Pre-processor Definitions
****************************************************************************/
#if CONFIG_SENSORS_L3GD20_BUFFER_SIZE > 0 && !defined(CONFIG_SCHED_HPWORK)
# error Hi-priority work queue support is required (CONFIG_SCHED_HPWORK)
#endif
/****************************************************************************
* Private Types
****************************************************************************/