git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@200 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2007-05-03 10:42:13 +00:00
parent 8e19dbc9a5
commit 28728db69c
1 changed files with 3 additions and 3 deletions

View File

@ -121,7 +121,7 @@ static void lpc214x_decodeirq( uint32 *regs)
unsigned int irq_base; unsigned int irq_base;
unsigned int irq = NR_IRQS; 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. * times through the loop.
*/ */
@ -131,9 +131,9 @@ static void lpc214x_decodeirq( uint32 *regs)
{ {
if (nibble) if (nibble)
{ {
irq = irq_base + g_nibblemap[nibble]; irq = irq_base + g_nibblemap[nibble];
break; break;
} }
} }
/* Verify that the resulting IRQ number is valid */ /* Verify that the resulting IRQ number is valid */