mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
tiva/cc13xx: Fix syntax error and nxstyle error
arch/arm/src/tiva/cc13xx/cc13xx_gpioirq.c:
* Fix syntax error: stray closing parenthesis in function
cc13xx_gpio_interrupt().
* Fix nxstyle error.
This commit is contained in:
committed by
Alin Jerpelea
parent
a907e2ad63
commit
66c8d77dd9
@@ -88,7 +88,7 @@ static struct gpio_handler_s g_gpio_inthandler[TIVA_NIRQ_PINS];
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
static int cc13xx_gpio_interrupt)(int irq, FAR void *context, FAR void *arg)
|
||||
static int cc13xx_gpio_interrupt(int irq, FAR void *context, FAR void *arg)
|
||||
{
|
||||
uint32_t evflags;
|
||||
uint32_t regval;
|
||||
@@ -118,7 +118,8 @@ static int cc13xx_gpio_interrupt)(int irq, FAR void *context, FAR void *arg)
|
||||
|
||||
FAR struct gpio_handler_s *handler = &g_gpio_inthandler[dio];
|
||||
|
||||
gpioinfo("dio=%d isr=%p arg=%p\n", dio, handler->isr, handler->arg);
|
||||
gpioinfo("dio=%d isr=%p arg=%p\n", dio, handler->isr,
|
||||
handler->arg);
|
||||
handler->isr(irq, context, handler->arg);
|
||||
|
||||
evflags &= ~diomask;
|
||||
|
||||
Reference in New Issue
Block a user