diff --git a/stm-firmware/setup/system_stm32f4xx.c b/stm-firmware/setup/system_stm32f4xx.c index b2d4bb7..1bde7e7 100644 --- a/stm-firmware/setup/system_stm32f4xx.c +++ b/stm-firmware/setup/system_stm32f4xx.c @@ -399,7 +399,7 @@ static void SetSysClock(void) RCC->CFGR |= RCC_CFGR_SW_PLL; /* 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) { } }