t

Fork of mbed-dev by mbed official

Revision:
161:2cc1468da177
Parent:
160:d5399cc887bb
Child:
165:e614a9f1c9e2
diff -r d5399cc887bb -r 2cc1468da177 targets/TARGET_STM/hal_tick_32b.c
--- a/targets/TARGET_STM/hal_tick_32b.c	Tue Mar 14 16:40:56 2017 +0000
+++ b/targets/TARGET_STM/hal_tick_32b.c	Thu Mar 30 13:45:57 2017 +0100
@@ -101,7 +101,7 @@
 #if !TARGET_STM32L1
     TimMasterHandle.Init.RepetitionCounter = 0;
 #endif
-#ifdef TARGET_STM32F0
+#if TARGET_STM32F0||TARGET_STM32F7
     TimMasterHandle.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
 #endif
     HAL_TIM_OC_Init(&TimMasterHandle);