test
Fork of mbed-dev by
Diff: targets/TARGET_STM/hal_tick_32b.c
- Revision:
- 161:2cc1468da177
- Parent:
- 160:d5399cc887bb
- Child:
- 166:e614a9f1c9e2
--- 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);