mirror of https://github.com/rusefi/ChibiOS.git
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3650 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
da9678f49a
commit
22b48b6876
|
@ -96,7 +96,7 @@ void stm32_clock_init(void) {
|
|||
|
||||
/* PWR initialization.*/
|
||||
PWR->CR = STM32_VOS;
|
||||
while (PWR->CSR & PWR_CSR_VOSRDY)
|
||||
while ((PWR->CSR & PWR_CSR_VOSRDY) == 0)
|
||||
; /* Waits until power regulator is stable. */
|
||||
|
||||
/* Initial clocks setup and wait for HSI stabilization, the MSI clock is
|
||||
|
|
Loading…
Reference in New Issue