diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-08 22:28:39 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-08 22:28:39 +0000 |
commit | 6927faf0479d3309b8046d53b2c64b05c27c112e (patch) | |
tree | 697b1da14d788ab02c788f72155b6257b2ebad87 /nuttx/arch/arm/src/lpc43xx/lpc43_irq.c | |
parent | 41dcd39ef26caa7cc3b76ca31ced5ba00f23d874 (diff) | |
download | px4-nuttx-6927faf0479d3309b8046d53b2c64b05c27c112e.tar.gz px4-nuttx-6927faf0479d3309b8046d53b2c64b05c27c112e.tar.bz2 px4-nuttx-6927faf0479d3309b8046d53b2c64b05c27c112e.zip |
Add support to the LPC4330-Xplorer port for the Code Red toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4920 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc43xx/lpc43_irq.c')
-rw-r--r-- | nuttx/arch/arm/src/lpc43xx/lpc43_irq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/lpc43xx/lpc43_irq.c b/nuttx/arch/arm/src/lpc43xx/lpc43_irq.c index 440dcae4e..ee7afd881 100644 --- a/nuttx/arch/arm/src/lpc43xx/lpc43_irq.c +++ b/nuttx/arch/arm/src/lpc43xx/lpc43_irq.c @@ -466,7 +466,8 @@ int up_prioritize_irq(int irq, int priority) uint32_t regval; int shift; - DEBUGASSERT(irq >= LPC43_IRQ_MEMFAULT && irq < NR_IRQS && (unsigned)priority <= NVIC_SYSH_PRIORITY_MIN); + DEBUGASSERT(irq >= LPC43_IRQ_MEMFAULT && irq < NR_IRQS && + (unsigned)priority <= LPC43M4_SYSH_PRIORITY_MIN); if (irq < LPC43_IRQ_EXTINT) { |