|
@@ -385,7 +385,7 @@ static void SetSysClock(void)
|
|
RCC->CFGR |= RCC_CFGR_SW_PLL;
|
|
RCC->CFGR |= RCC_CFGR_SW_PLL;
|
|
|
|
|
|
/* Wait till the main PLL is used as system clock source */
|
|
/* Wait till the main PLL is used as system clock source */
|
|
- while ((RCC->CFGR & (uint32_t)RCC_CFGR_SWS ) != RCC_CFGR_SWS_PLL);
|
|
|
|
|
|
+ while ((RCC->CFGR & (uint32_t)RCC_CFGR_SWS ) != RCC_CFGR_SWS_PLL)
|
|
{
|
|
{
|
|
}
|
|
}
|
|
}
|
|
}
|