Skip to content

Commit 1c75638

Browse files
committed
Merge pull request #1468 from dinau/f030r8-fixed-led-blink-too-fast
[NUCLEO-F030R8] Fixed: The issue of LED blinking too fast.
2 parents 12b02b9 + 4695597 commit 1c75638

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)