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 5f5e015d00
commit 68c56bfa37
5 changed files with 6 additions and 6 deletions
+1 -1
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 */ /* Detach and disable the interrupt */
(void)irq_detach(irq) (void)irq_detach(irq);
sam_gpioirqdisable(irq); sam_gpioirqdisable(irq);
} }
+1 -1
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 */ /* Detach and disable the interrupt */
(void)irq_detach(irq) (void)irq_detach(irq);
sam_gpioirqdisable(irq); sam_gpioirqdisable(irq);
} }
+1 -1
View File
@@ -156,7 +156,7 @@ xcpt_t board_button_irq(int id, xcpt_t irqhandler)
{ {
/* Detach and disable the interrupt */ /* Detach and disable the interrupt */
(void)irq_detach(IRQ_SW0) (void)irq_detach(IRQ_SW0);
sam_gpioirqdisable(IRQ_SW0); sam_gpioirqdisable(IRQ_SW0);
} }
+2 -2
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 board_button_irq(int id, xcpt_t irqhandler)
{ {
xcpt_t oldhandler = NULL; xcpt_t oldhandler = NULL;
@@ -155,7 +155,7 @@ xcpt_t board_button_irq(int id, xcpt_t irqhandler)
{ {
/* Detach and disable the interrupt */ /* Detach and disable the interrupt */
(void)irq_detach(IRQ_SW0) (void)irq_detach(IRQ_SW0);
sam_gpioirqdisable(IRQ_SW0); sam_gpioirqdisable(IRQ_SW0);
} }
+1 -1
View File
@@ -154,7 +154,7 @@ xcpt_t board_button_irq(int id, xcpt_t irqhandler)
{ {
/* Detach and disable the interrupt */ /* Detach and disable the interrupt */
(void)irq_detach(IRQ_BP2) (void)irq_detach(IRQ_BP2);
sam_gpioirqdisable(IRQ_BP2); sam_gpioirqdisable(IRQ_BP2);
} }