diff --git a/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_GCC/Boot/main.c b/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_GCC/Boot/main.c index 845f39b6..5fa772c6 100644 --- a/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_GCC/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_GCC/Boot/main.c @@ -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); } diff --git a/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_IAR/Boot/main.c b/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_IAR/Boot/main.c index 5ada5b67..033b5032 100644 --- a/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_IAR/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_IAR/Boot/main.c @@ -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); } diff --git a/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_Keil/Boot/main.c b/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_Keil/Boot/main.c index c4d69f4b..aea68bf3 100644 --- a/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_Keil/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_Keil/Boot/main.c @@ -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); }