X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm%2Fao_timer.c;h=1132f7484fb7262cfd03175d3e001a4ba6d0cd27;hb=31f5a02654cbf172beed25f4c518dfb7be8c714e;hp=f561e6b56851303d1af929c849acd0658e23dff8;hpb=b635cb26ba54c8f5c6a958e0ab0bc4d34d33b635;p=fw%2Faltos diff --git a/src/stm/ao_timer.c b/src/stm/ao_timer.c index f561e6b5..1132f748 100644 --- a/src/stm/ao_timer.c +++ b/src/stm/ao_timer.c @@ -87,7 +87,7 @@ ao_timer_init(void) stm_rcc.apb1enr |= (1 << STM_RCC_APB1ENR_TIM6EN); stm_tim6.psc = TIMER_10kHz; - stm_tim6.arr = 100; + stm_tim6.arr = 99; stm_tim6.cnt = 0; /* Enable update interrupt */