ApiHal: update HSE tuning to match EVT samples (#612)

This commit is contained in:
あく 2021-07-29 14:19:18 +03:00 committed by GitHub
parent 91c1eaf5a8
commit 12113b480d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ void api_hal_clock_init() {
while(LL_FLASH_GetLatency() != LL_FLASH_LATENCY_3); while(LL_FLASH_GetLatency() != LL_FLASH_LATENCY_3);
/* HSE configuration and activation */ /* HSE configuration and activation */
LL_RCC_HSE_SetCapacitorTuning(0x18); LL_RCC_HSE_SetCapacitorTuning(0x26);
LL_RCC_HSE_Enable(); LL_RCC_HSE_Enable();
while(LL_RCC_HSE_IsReady() != 1) ; while(LL_RCC_HSE_IsReady() != 1) ;