X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=inline;f=src%2Fstm%2Fao_timer.c;h=936dc88121e572a68a62255dee59c6378b7035fe;hb=f1ae622eff60e05c1f5d8f822a3cf6a85750c6cc;hp=0c44f352fb56009bb35b7f1e34e2f22a15faa40b;hpb=936ecad62596f34773afb7460b10f63df7d0896d;p=fw%2Faltos diff --git a/src/stm/ao_timer.c b/src/stm/ao_timer.c index 0c44f352..936dc881 100644 --- a/src/stm/ao_timer.c +++ b/src/stm/ao_timer.c @@ -87,7 +87,7 @@ void ao_timer_init(void) { stm_nvic_set_enable(STM_ISR_TIM6_POS); - stm_nvic_set_priority(STM_ISR_TIM6_POS, 1); + stm_nvic_set_priority(STM_ISR_TIM6_POS, AO_STM_NVIC_CLOCK_PRIORITY); /* Turn on timer 6 */ stm_rcc.apb1enr |= (1 << STM_RCC_APB1ENR_TIM6EN);