SAM3/4: Fix conditional compilation in GPIO IRQ logic
This commit is contained in:
parent
8dfb3a1dd0
commit
96405b1913
@ -70,7 +70,8 @@
|
|||||||
/* Configuration ********************************************************************/
|
/* Configuration ********************************************************************/
|
||||||
|
|
||||||
#if defined(CONFIG_SAM34_GPIOA_IRQ) || defined(CONFIG_SAM34_GPIOB_IRQ) || \
|
#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
|
# define CONFIG_SAM34_GPIO_IRQ 1
|
||||||
#else
|
#else
|
||||||
# undef CONFIG_SAM34_GPIO_IRQ
|
# undef CONFIG_SAM34_GPIO_IRQ
|
||||||
|
Loading…
Reference in New Issue
Block a user