summaryrefslogtreecommitdiff
path: root/nuttx/arch/z80/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-02-16 14:48:35 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-02-16 14:48:35 +0000
commitda0e55d2362d12f02b81671dab59feab27897f06 (patch)
tree0c2eebbd5868c11ff2f1624e5b7507113ac2160f /nuttx/arch/z80/include
parentc2237202d1ee293b09038ebedcf1e18eb36af92e (diff)
downloadpx4-nuttx-da0e55d2362d12f02b81671dab59feab27897f06.tar.gz
px4-nuttx-da0e55d2362d12f02b81671dab59feab27897f06.tar.bz2
px4-nuttx-da0e55d2362d12f02b81671dab59feab27897f06.zip
Fix compiler errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@694 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80/include')
-rw-r--r--nuttx/arch/z80/include/z8/irq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/z80/include/z8/irq.h b/nuttx/arch/z80/include/z8/irq.h
index b994635be..5a9858a75 100644
--- a/nuttx/arch/z80/include/z8/irq.h
+++ b/nuttx/arch/z80/include/z8/irq.h
@@ -204,7 +204,7 @@
* WARNING: These have only been verified for the Z8F640X family!
*/
-#if defined(_Z8ENCORE_F640X) || defined(_Z8ENCORE_640_FAMILY)
+#ifdef ENCORE_VECTORS
# define Z8_IRQ0_MIN Z8_TIMER2_IRQ
# define Z8_IRQ0_BIT(irq) (Z8_ADC_IRQ - (irq))
@@ -215,7 +215,7 @@
# define Z8_IRQ1_MAX Z8_P0AD_IRQ
# define Z8_IRQ2_MIN Z8_TIMER3_IRQ
-# define Z8_IRQ3_BIT(irq) (Z8_C0_IRQ - (irq))
+# define Z8_IRQ2_BIT(irq) (Z8_C0_IRQ - (irq))
# define Z8_IRQ2_MAX Z8_C0_IRQ
#else