mirror of https://github.com/ARMmbed/mbed-os.git
[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/pull/1468/head
parent
a41d1d6c02
commit
46955971ec
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue