altos: LPC interrupt priorities are just 0-3
authorKeith Packard <keithp@keithp.com>
Sat, 18 May 2013 10:14:16 +0000 (03:14 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 18 May 2013 10:14:16 +0000 (03:14 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/lpc/ao_arch.h

index d9f72e1a1c75a5345d5a28389f121fab4dc723bd..fb68f6bebbe55d72d6b655cc894582347aa94d4f 100644 (file)
@@ -111,10 +111,10 @@ extern const uint32_t ao_radio_cal;
 #define AO_TIM91011_CLK                (2 * AO_PCLK2)
 #endif
 
-#define AO_STM_NVIC_HIGH_PRIORITY      4
-#define AO_STM_NVIC_CLOCK_PRIORITY     6
-#define AO_STM_NVIC_MED_PRIORITY       8
-#define AO_STM_NVIC_LOW_PRIORITY       10
+#define AO_LPC_NVIC_HIGH_PRIORITY      0
+#define AO_LPC_NVIC_CLOCK_PRIORITY     1
+#define AO_LPC_NVIC_MED_PRIORITY       2
+#define AO_LPC_NVIC_LOW_PRIORITY       3
 
 void
 ao_adc_init(void);