mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
sensor/l3gd20: optimize Kconfig
N/A Change-Id: Iabdaf8d5e51a319ebc2e5b64246d3fe0a9e9e229 Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user