Skip to content

Commit 4695597

Browse files
committed
[NUCLEO-F030R8] Fixed: The issue of LED blink too fast.
Refer to: #1329 https://developer.mbed.org/questions/61386/Is-there-system-clock-error-in-STM32F030/
1 parent a41d1d6 commit 4695597

File tree

1 file changed

+0
-4
lines changed
  • libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8

1 file changed

+0
-4
lines changed

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/hal_tick.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,6 @@ void timer_oc_irq_handler(void)
9696
// Reconfigure the HAL tick using a standard timer instead of systick.
9797
HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority) {
9898

99-
static uint32_t ticker_inited=0;
100-
if(ticker_inited)return HAL_OK;
101-
ticker_inited=1;
102-
10399
// Enable timer clock
104100
TIM_MST_RCC;
105101

0 commit comments

Comments
 (0)