mirror of
https://github.com/apache/nuttx.git
synced 2025-12-09 03:33:51 +08:00
boards/avr/avrdx/breadxavr: fix dependency in Kconfig
Button input driver support depends on AVRDx GPIO ISR multiplexer but the configuration option did not enforce it. Signed-off-by: Kerogit <kr.git@kerogit.eu>
This commit is contained in:
@@ -7,7 +7,7 @@ if ARCH_BOARD_AVRDX_BREADXAVR
|
||||
|
||||
config BREADXAVR_BUTTONS_DRIVER
|
||||
bool "Enable button input driver for GPIO pins"
|
||||
depends on (INPUT_BUTTONS && INPUT_BUTTONS_LOWER && BOARD_EARLY_INITIALIZE)
|
||||
depends on INPUT_BUTTONS && INPUT_BUTTONS_LOWER && BOARD_EARLY_INITIALIZE && AVR_AVRDX_GPIO_ISR_MUX
|
||||
default n
|
||||
---help---
|
||||
If set, button driver registered as /dev/buttons
|
||||
|
||||
Reference in New Issue
Block a user