mirror of
https://github.com/IcedRooibos/py32f0-template.git
synced 2025-10-28 16:32:05 -07:00
fix: rcc hsi example, re-init systick
This commit is contained in:
parent
bc8c26a7a6
commit
7d81f18376
@ -39,6 +39,8 @@ static void APP_SystemClockConfig(void)
|
||||
LL_RCC_SetAPB1Prescaler(LL_RCC_APB1_DIV_1);
|
||||
/* Update global SystemCoreClock(or through SystemCoreClockUpdate function) */
|
||||
LL_SetSystemCoreClock(24000000);
|
||||
/* Re-init frequency of SysTick source */
|
||||
LL_InitTick(24000000, 1000U);
|
||||
}
|
||||
|
||||
static void APP_GPIOConfig(void)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user