altos/stm: Fix basic time interval to 10ms -- was 10.1ms
[fw/altos] / src / stm / ao_timer.c
index f561e6b56851303d1af929c849acd0658e23dff8..1132f7484fb7262cfd03175d3e001a4ba6d0cd27 100644 (file)
@@ -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 */