diff options
| author | Keith Packard <keithp@keithp.com> | 2012-08-27 22:45:20 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-08-28 23:00:22 -0700 | 
| commit | c677f26852b70bcbb303382c306ce06664fde028 (patch) | |
| tree | b1f3065aef046596c724859d6521407c13d6e59a /src | |
| parent | 5ed88fb72c3e3ecf3333c700d838667db71cfbdc (diff) | |
altos: No need to initialize EXTI priorities at startup time
They all get set to the correct value when enabled.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/stm/ao_exti_stm.c | 6 | 
1 files changed, 0 insertions, 6 deletions
| diff --git a/src/stm/ao_exti_stm.c b/src/stm/ao_exti_stm.c index 11099b02..1361d0d4 100644 --- a/src/stm/ao_exti_stm.c +++ b/src/stm/ao_exti_stm.c @@ -151,10 +151,4 @@ ao_exti_disable(struct stm_gpio *gpio, uint8_t pin) {  void  ao_exti_init(void)  { -	stm_nvic_set_priority(STM_ISR_EXTI1_POS, AO_STM_NVIC_MED_PRIORITY); -	stm_nvic_set_priority(STM_ISR_EXTI2_POS, AO_STM_NVIC_MED_PRIORITY); -	stm_nvic_set_priority(STM_ISR_EXTI3_POS, AO_STM_NVIC_MED_PRIORITY); -	stm_nvic_set_priority(STM_ISR_EXTI4_POS, AO_STM_NVIC_MED_PRIORITY); -	stm_nvic_set_priority(STM_ISR_EXTI9_5_POS, AO_STM_NVIC_MED_PRIORITY); -	stm_nvic_set_priority(STM_ISR_EXTI15_10_POS, AO_STM_NVIC_MED_PRIORITY);  } | 
