summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/include/kl
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-04-16 14:54:08 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-04-16 14:54:08 -0600
commit82b1ed85155de4cac47551adb2363cc36b8806d0 (patch)
tree4209485ca4b7d8698618589061a79ea433b67855 /nuttx/arch/arm/include/kl
parent07611d72f0c6c1794be1a1daabfe745a35d9085a (diff)
downloadpx4-nuttx-82b1ed85155de4cac47551adb2363cc36b8806d0.tar.gz
px4-nuttx-82b1ed85155de4cac47551adb2363cc36b8806d0.tar.bz2
px4-nuttx-82b1ed85155de4cac47551adb2363cc36b8806d0.zip
Fix KL25Z interrupt enable/disable logic
Diffstat (limited to 'nuttx/arch/arm/include/kl')
-rw-r--r--nuttx/arch/arm/include/kl/irq.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/nuttx/arch/arm/include/kl/irq.h b/nuttx/arch/arm/include/kl/irq.h
index 0279ea372..78cb0be46 100644
--- a/nuttx/arch/arm/include/kl/irq.h
+++ b/nuttx/arch/arm/include/kl/irq.h
@@ -122,15 +122,14 @@
* now) seems to justify the waste.
*/
-# define NR_VECTORS (64) /* 64 vectors */
-# define NR_IRQS (64) /* 64 interrupts but 48 IRQ numbers */
-# define KL_IRQ_INTERRUPT (64)
+# define NR_VECTORS (64) /* 64 vectors */
+# define NR_IRQS (48) /* 64 interrupts but 48 IRQ numbers */
#else
/* The interrupt vectors for other parts are defined in other documents and may or
* may not be the same as above (the family members are all very similar) This
* error just means that you have to look at the document and determine for yourself
- * if the memory map is the same.
+ * if the vectors are the same.
*/
# error "No IRQ numbers for this Kinetis L part"