projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
935a7ff
)
altos: LPC interrupt priorities are just 0-3
author
Keith Packard
<keithp@keithp.com>
Sat, 18 May 2013 10:14:16 +0000
(
03:14
-0700)
committer
Keith 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
patch
|
blob
|
history
diff --git
a/src/lpc/ao_arch.h
b/src/lpc/ao_arch.h
index d9f72e1a1c75a5345d5a28389f121fab4dc723bd..fb68f6bebbe55d72d6b655cc894582347aa94d4f 100644
(file)
--- a/
src/lpc/ao_arch.h
+++ b/
src/lpc/ao_arch.h
@@
-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);