From 46955971ecd43a5a5d3283854396d3b61d26a245 Mon Sep 17 00:00:00 2001 From: dinau Date: Wed, 9 Dec 2015 20:38:32 +0900 Subject: [PATCH] [NUCLEO-F030R8] Fixed: The issue of LED blink too fast. Refer to: https://github.com/mbedmicro/mbed/issues/1329 https://developer.mbed.org/questions/61386/Is-there-system-clock-error-in-STM32F030/ --- .../TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/hal_tick.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/hal_tick.c b/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/hal_tick.c index f0e04a10c1..7c7314d9f3 100644 --- a/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/hal_tick.c +++ b/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/hal_tick.c @@ -96,10 +96,6 @@ void timer_oc_irq_handler(void) // Reconfigure the HAL tick using a standard timer instead of systick. HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority) { - static uint32_t ticker_inited=0; - if(ticker_inited)return HAL_OK; - ticker_inited=1; - // Enable timer clock TIM_MST_RCC;