Forked.

Fork of mbed-dev by mbed official

Revision:
156:95d6b41a828b
Parent:
153:fa9ff456f731
Child:
160:d5399cc887bb
--- a/targets/TARGET_STM/hal_tick_32b.c	Thu Jan 05 10:51:54 2017 +0000
+++ b/targets/TARGET_STM/hal_tick_32b.c	Mon Jan 16 15:03:32 2017 +0000
@@ -100,6 +100,9 @@
 #if !TARGET_STM32L1
     TimMasterHandle.Init.RepetitionCounter = 0;
 #endif
+#ifdef TARGET_STM32F0
+    TimMasterHandle.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
+#endif
     HAL_TIM_OC_Init(&TimMasterHandle);
 
     NVIC_SetVector(TIM_MST_IRQ, (uint32_t)timer_irq_handler);