mirror of https://github.com/rusefi/openblt.git
Refs #1785. Corrected flash latency configuration in Nucleo-G474RE demo programs.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@1050 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
This commit is contained in:
parent
089ae35c92
commit
b786f198d5
|
@ -101,8 +101,7 @@ static void SystemClock_Config(void)
|
|||
LL_FLASH_SetLatency(LL_FLASH_LATENCY_4);
|
||||
while(LL_FLASH_GetLatency() != LL_FLASH_LATENCY_4)
|
||||
{
|
||||
/* Error setting flash latency. */
|
||||
ASSERT_RT(BLT_FALSE);
|
||||
;
|
||||
}
|
||||
|
||||
/* Enable boost mode and the HSE clock. */
|
||||
|
@ -149,7 +148,7 @@ static void SystemClock_Config(void)
|
|||
/* Update the time base */
|
||||
if (HAL_InitTick (TICK_INT_PRIORITY) != HAL_OK)
|
||||
{
|
||||
/* Error setting flash latency. */
|
||||
/* Error updating the time base. */
|
||||
ASSERT_RT(BLT_FALSE);
|
||||
}
|
||||
|
||||
|
|
|
@ -98,8 +98,7 @@ static void SystemClock_Config(void)
|
|||
LL_FLASH_SetLatency(LL_FLASH_LATENCY_4);
|
||||
while(LL_FLASH_GetLatency() != LL_FLASH_LATENCY_4)
|
||||
{
|
||||
/* Error setting flash latency. */
|
||||
ASSERT_RT(BLT_FALSE);
|
||||
;
|
||||
}
|
||||
|
||||
/* Enable boost mode and the HSE clock. */
|
||||
|
@ -146,7 +145,7 @@ static void SystemClock_Config(void)
|
|||
/* Update the time base */
|
||||
if (HAL_InitTick (TICK_INT_PRIORITY) != HAL_OK)
|
||||
{
|
||||
/* Error setting flash latency. */
|
||||
/* Error updating the time base. */
|
||||
ASSERT_RT(BLT_FALSE);
|
||||
}
|
||||
|
||||
|
|
|
@ -101,8 +101,7 @@ static void SystemClock_Config(void)
|
|||
LL_FLASH_SetLatency(LL_FLASH_LATENCY_4);
|
||||
while(LL_FLASH_GetLatency() != LL_FLASH_LATENCY_4)
|
||||
{
|
||||
/* Error setting flash latency. */
|
||||
ASSERT_RT(BLT_FALSE);
|
||||
;
|
||||
}
|
||||
|
||||
/* Enable boost mode and the HSE clock. */
|
||||
|
@ -149,7 +148,7 @@ static void SystemClock_Config(void)
|
|||
/* Update the time base */
|
||||
if (HAL_InitTick (TICK_INT_PRIORITY) != HAL_OK)
|
||||
{
|
||||
/* Error setting flash latency. */
|
||||
/* Error updating the time base. */
|
||||
ASSERT_RT(BLT_FALSE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue