X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fstm%2Fao_timer.c;h=1132f7484fb7262cfd03175d3e001a4ba6d0cd27;hb=3fe5c2f9fc01258d45c20070e9874d76bc6c8c07;hp=f561e6b56851303d1af929c849acd0658e23dff8;hpb=583458772746317b98fced907ec780edff465888;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 */