diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-12 19:16:18 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-12 19:16:18 +0000 |
commit | d02659240107c47684c0455184828554afc004f1 (patch) | |
tree | 627248b945cd7f6fb1319975ec16d0411163ac85 | |
parent | 1e830a4ab93ff2c4fdb44e939d06a322c3b10b0d (diff) | |
download | px4-nuttx-d02659240107c47684c0455184828554afc004f1.tar.gz px4-nuttx-d02659240107c47684c0455184828554afc004f1.tar.bz2 px4-nuttx-d02659240107c47684c0455184828554afc004f1.zip |
Fix error in prioritization logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1210 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r-- | nuttx/arch/sh/src/sh1/sh1_irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/sh/src/sh1/sh1_irq.c b/nuttx/arch/sh/src/sh1/sh1_irq.c index d0e2a6892..76c157f4f 100644 --- a/nuttx/arch/sh/src/sh1/sh1_irq.c +++ b/nuttx/arch/sh/src/sh1/sh1_irq.c @@ -266,12 +266,12 @@ void up_prioritize_irq(int irq, int priority) goto ipre; #endif ipre: - reg = SH1_INTC_IPRD; + reg = SH1_INTC_IPRE; break; #endif default: - dbg("Disabled irq=%d\n", irq); + dbg("Invalid irq=%d\n", irq); return; } |