implmented initialization, fixed a few bugs, fixed indentation

This commit is contained in:
2017-04-02 23:54:06 +02:00
parent a5ae7ec9a1
commit 00bcf66457
10 changed files with 504 additions and 548 deletions

View File

@@ -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