Skip to content
Snippets Groups Projects
Commit 5baddfa5 authored by patacongo's avatar patacongo
Browse files

Fix missing comma

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2849 42af7a65-404d-4744-a932-0658087f49c3
parent d4572f6f
No related branches found
No related tags found
No related merge requests found
......@@ -232,13 +232,20 @@ static int lm3s_gpioghandler(int irq, FAR void *context)
}
#endif
#if !defined(CONFIG_LM3S_DISABLE_GPIOH_IRQS) && defined(LM3S_GPIOH_BASE)
#ifndef CONFIG_LM3S_DISABLE_GPIOH_IRQS
static int lm3s_gpiohhandler(int irq, FAR void *context)
{
return lm3s_gpiohandler(LM3S_GPIOH_BASE, LM3S_IRQ_GPIOH_0, context);
}
#endif
#ifndef CONFIG_LM3S_DISABLE_GPIOJ_IRQS
static int lm3s_gpiojhandler(int irq, FAR void *context)
{
return lm3s_gpiohandler(LM3S_GPIOJ_BASE, LM3S_IRQ_GPIOJ_0, context);
}
#endif
/****************************************************************************
* Public Functions
****************************************************************************/
......@@ -299,7 +306,7 @@ int gpio_irqinitialize(void)
up_enable_irq(LM3S_IRQ_GPIOH);
#endif
#ifndef CONFIG_LM3S_DISABLE_GPIOJ_IRQS
irq_attach(LM3S_IRQ_GPIOJ lm3s_gpiohhandler);
irq_attach(LM3S_IRQ_GPIOJ, lm3s_gpiojhandler);
up_enable_irq(LM3S_IRQ_GPIOJ);
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment