diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-05-03 10:42:13 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-05-03 10:42:13 +0000 |
commit | 4d29086f8342c30c82bc4f0aa48f2d1a60e628bb (patch) | |
tree | a2f762c23f307bc8a2d963431ee72978ec9629b4 /nuttx/arch | |
parent | 5f2f233d6704d1844dfdc7334e9f2b84c8c00908 (diff) | |
download | px4-nuttx-4d29086f8342c30c82bc4f0aa48f2d1a60e628bb.tar.gz px4-nuttx-4d29086f8342c30c82bc4f0aa48f2d1a60e628bb.tar.bz2 px4-nuttx-4d29086f8342c30c82bc4f0aa48f2d1a60e628bb.zip |
Cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@200 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch')
-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 */ |