diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2010-08-13 04:29:10 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2010-08-13 04:29:10 +0000 |
commit | 6429e60702c10fc02be04dfd9222570b14e328ad (patch) | |
tree | e502a6c4d6b9d21a7d01f1052b660d0f8283841d /nuttx/arch/arm/src/lm3s | |
parent | 8fb6e61ad695918077944399c5d814055b952e9b (diff) |
Fix missing comma
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@2849 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/arch/arm/src/lm3s')
-rw-r--r-- | nuttx/arch/arm/src/lm3s/lm3s_gpioirq.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/lm3s/lm3s_gpioirq.c b/nuttx/arch/arm/src/lm3s/lm3s_gpioirq.c index 1165f6decb..3c10f217e8 100644 --- a/nuttx/arch/arm/src/lm3s/lm3s_gpioirq.c +++ b/nuttx/arch/arm/src/lm3s/lm3s_gpioirq.c @@ -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 |