mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
SAM3/4: Fix conditional compilation in GPIO IRQ logic
This commit is contained in:
@@ -70,7 +70,8 @@
|
||||
/* Configuration ********************************************************************/
|
||||
|
||||
#if defined(CONFIG_SAM34_GPIOA_IRQ) || defined(CONFIG_SAM34_GPIOB_IRQ) || \
|
||||
defined(CONFIG_SAM34_GPIOC_IRQ)
|
||||
defined(CONFIG_SAM34_GPIOC_IRQ) || defined(CONFIG_SAM34_GPIOD_IRQ) || \
|
||||
defined(CONFIG_SAM34_GPIOE_IRQ) || defined(CONFIG_SAM34_GPIOF_IRQ)
|
||||
# define CONFIG_SAM34_GPIO_IRQ 1
|
||||
#else
|
||||
# undef CONFIG_SAM34_GPIO_IRQ
|
||||
|
||||
Reference in New Issue
Block a user