implmented initialization, fixed a few bugs, fixed indentation
This commit is contained in:
@@ -400,8 +400,6 @@ static void SetSysClock(void)
|
||||
|
||||
/* Wait till the main PLL is used as system clock source */
|
||||
while ((RCC->CFGR & (uint32_t)RCC_CFGR_SWS ) != RCC_CFGR_SWS_PLL);
|
||||
{
|
||||
}
|
||||
}
|
||||
else
|
||||
{ /* If HSE fails to start-up, the application will have wrong clock
|
||||
|
Reference in New Issue
Block a user