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:
Frank Voorburg 2023-05-03 10:29:06 +00:00
parent 089ae35c92
commit b786f198d5
3 changed files with 6 additions and 9 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}