helpfor studient
Dependents: STM32_F103-C8T6basecanblink_led
Fork of mbed-dev by
Diff: targets/TARGET_STM/hal_tick_16b.c
- Revision:
- 185:08ed48f1de7f
- Parent:
- 176:af195413fb11
--- a/targets/TARGET_STM/hal_tick_16b.c Tue Mar 20 17:01:51 2018 +0000 +++ b/targets/TARGET_STM/hal_tick_16b.c Thu Apr 19 17:12:19 2018 +0100 @@ -105,7 +105,7 @@ TimMasterHandle.Init.Prescaler = (uint32_t)(SystemCoreClock / 1000000) - 1; // 1 us tick TimMasterHandle.Init.ClockDivision = 0; TimMasterHandle.Init.CounterMode = TIM_COUNTERMODE_UP; -#if !defined(TARGET_STM32L0) +#if !defined(TARGET_STM32L0) && !defined(TARGET_STM32L1) TimMasterHandle.Init.RepetitionCounter = 0; #endif #ifdef TIM_AUTORELOAD_PRELOAD_DISABLE