Skip to content
Snippets Groups Projects
Commit 98f52d9f authored by patacongo's avatar patacongo
Browse files

Macro must be bit mask, not bit number

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@695 42af7a65-404d-4744-a932-0658087f49c3
parent b125ca88
No related branches found
No related tags found
No related merge requests found
......@@ -207,15 +207,15 @@
#ifdef ENCORE_VECTORS
# define Z8_IRQ0_MIN Z8_TIMER2_IRQ
# define Z8_IRQ0_BIT(irq) (Z8_ADC_IRQ - (irq))
# define Z8_IRQ0_BIT(irq) (1 << (Z8_ADC_IRQ - (irq)))
# define Z8_IRQ0_MAX Z8_ADC_IRQ
# define Z8_IRQ1_MIN Z8_P7AD_IRQ
# define Z8_IRQ1_BIT(irq) (Z8_P0AD_IRQ - (irq))
# define Z8_IRQ1_BIT(irq) (1 << (Z8_P0AD_IRQ - (irq)))
# define Z8_IRQ1_MAX Z8_P0AD_IRQ
# define Z8_IRQ2_MIN Z8_TIMER3_IRQ
# define Z8_IRQ2_BIT(irq) (Z8_C0_IRQ - (irq))
# define Z8_IRQ2_BIT(irq) (1 << (Z8_C0_IRQ - (irq)))
# define Z8_IRQ2_MAX Z8_C0_IRQ
#else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment