mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
sched/irq/irq_dispatch.c: Fix an error found in build testing.
This commit is contained in:
@@ -110,8 +110,8 @@ void irq_dispatch(int irq, FAR void *context)
|
||||
#else
|
||||
if (g_irqvector[irq].handler)
|
||||
{
|
||||
vector = g_irqvector[ndx].handler;
|
||||
arg = g_irqvector[ndx].arg;
|
||||
vector = g_irqvector[irq].handler;
|
||||
arg = g_irqvector[irq].arg;
|
||||
}
|
||||
|
||||
INCR_COUNT(irq);
|
||||
@@ -129,4 +129,3 @@ void irq_dispatch(int irq, FAR void *context)
|
||||
|
||||
vector(irq, context, arg);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user