Fix typos from previous commit to fix button interrupts

This commit is contained in:
Gregory Nutt 2014-06-22 08:11:57 -06:00
parent 2805582151
commit 7e83501ce5
5 changed files with 6 additions and 6 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}