git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14413 27425a3e-05d8-49a3-a47f-9c15f0e5edd8

This commit is contained in:
Giovanni Di Sirio 2021-05-21 17:54:28 +00:00
parent 158cbdf364
commit d406508ef0
1 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,8 @@
/**
* @brief FLASH_ACR reset value.
*/
#define STM32_FLASH_ACR_RESET 0x00000600U
#define STM32_FLASH_ACR_RESET (FLASH_ACR_DCEN | FLASH_ACR_ICEN | \
FLASH_ACR_LATENCY_0WS)
/**
* @brief MSI range array size.
@ -69,8 +70,7 @@ const halclkcfg_t hal_clkcfg_reset = {
.rcc_pllsai1cfgr = 0U,
.rcc_pllsai2cfgr = 0U,
.rcc_crrcr = 0U,
.flash_acr = FLASH_ACR_DCEN | FLASH_ACR_ICEN |
FLASH_ACR_LATENCY_0WS
.flash_acr = STM32_FLASH_ACR_RESET
};
/**