diff options
Diffstat (limited to 'nuttx/arch/arm/src/lpc214x/lpc214x_decodeirq.c')
-rw-r--r-- | nuttx/arch/arm/src/lpc214x/lpc214x_decodeirq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/arm/src/lpc214x/lpc214x_decodeirq.c b/nuttx/arch/arm/src/lpc214x/lpc214x_decodeirq.c index f90feb9c7..88fc06499 100644 --- a/nuttx/arch/arm/src/lpc214x/lpc214x_decodeirq.c +++ b/nuttx/arch/arm/src/lpc214x/lpc214x_decodeirq.c @@ -121,7 +121,7 @@ static void lpc214x_decodeirq( uint32 *regs) unsigned int irq_base; unsigned int irq = NR_IRQS; - /* Search in groups of four bits. For 22 sources, this is at most five + /* Search in groups of four bits. For 22 sources, this is at most six * times through the loop. */ @@ -131,9 +131,9 @@ static void lpc214x_decodeirq( uint32 *regs) { if (nibble) { - irq = irq_base + g_nibblemap[nibble]; + irq = irq_base + g_nibblemap[nibble]; break; - } + } } /* Verify that the resulting IRQ number is valid */ |