Fix typos from previous commit to fix button interrupts
This commit is contained in:
parent
2805582151
commit
7e83501ce5
|
@ -108,7 +108,7 @@ static xcpt_t board_button_irqx(int irq, xcpt_t irqhandler, xcpt_t *store)
|
|||
{
|
||||
/* Detach and disable the interrupt */
|
||||
|
||||
(void)irq_detach(irq)
|
||||
(void)irq_detach(irq);
|
||||
sam_gpioirqdisable(irq);
|
||||
}
|
||||
|
||||
|
|
|
@ -110,7 +110,7 @@ static xcpt_t board_button_irqx(int irq, xcpt_t irqhandler, xcpt_t *store)
|
|||
{
|
||||
/* Detach and disable the interrupt */
|
||||
|
||||
(void)irq_detach(irq)
|
||||
(void)irq_detach(irq);
|
||||
sam_gpioirqdisable(irq);
|
||||
}
|
||||
|
||||
|
|
|
@ -156,7 +156,7 @@ xcpt_t board_button_irq(int id, xcpt_t irqhandler)
|
|||
{
|
||||
/* Detach and disable the interrupt */
|
||||
|
||||
(void)irq_detach(IRQ_SW0)
|
||||
(void)irq_detach(IRQ_SW0);
|
||||
sam_gpioirqdisable(IRQ_SW0);
|
||||
}
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@ uint8_t board_buttons(void)
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(CONFIG_GPIOA_IRQ) && defined(CONFIG_ARCH_IRQBUTTONS)
|
||||
#if defined(CONFIG_SAM34_GPIOA_IRQ) && defined(CONFIG_ARCH_IRQBUTTONS)
|
||||
xcpt_t board_button_irq(int id, xcpt_t irqhandler)
|
||||
{
|
||||
xcpt_t oldhandler = NULL;
|
||||
|
@ -155,7 +155,7 @@ xcpt_t board_button_irq(int id, xcpt_t irqhandler)
|
|||
{
|
||||
/* Detach and disable the interrupt */
|
||||
|
||||
(void)irq_detach(IRQ_SW0)
|
||||
(void)irq_detach(IRQ_SW0);
|
||||
sam_gpioirqdisable(IRQ_SW0);
|
||||
}
|
||||
|
||||
|
|
|
@ -154,7 +154,7 @@ xcpt_t board_button_irq(int id, xcpt_t irqhandler)
|
|||
{
|
||||
/* Detach and disable the interrupt */
|
||||
|
||||
(void)irq_detach(IRQ_BP2)
|
||||
(void)irq_detach(IRQ_BP2);
|
||||
sam_gpioirqdisable(IRQ_BP2);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue