mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
Diff: targets/TARGET_STM/hal_tick_32b.c
- Revision:
- 167:e84263d55307
- Parent:
- 165:e614a9f1c9e2
- Child:
- 173:e131a1973e81
--- a/targets/TARGET_STM/hal_tick_32b.c Thu Jun 08 15:02:37 2017 +0100 +++ b/targets/TARGET_STM/hal_tick_32b.c Wed Jun 21 17:46:44 2017 +0100 @@ -101,7 +101,7 @@ #if !TARGET_STM32L1 TimMasterHandle.Init.RepetitionCounter = 0; #endif -#if TARGET_STM32F0||TARGET_STM32F7 +#ifdef TIM_AUTORELOAD_PRELOAD_DISABLE TimMasterHandle.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE; #endif HAL_TIM_OC_Init(&TimMasterHandle);