Fix bug in clock setup. HSE was accidentally stopped instead of HSI. This didn't have any bad effects though

This commit is contained in:
Mario Hüttel 2022-06-21 20:25:06 +02:00
parent 1cc3a85471
commit 3fc6e81569

View File

@ -93,7 +93,7 @@ void __setup_clocks(void)
RCC->CFGR = tmp; RCC->CFGR = tmp;
/* Turn off HSI */ /* Turn off HSI */
RCC->CR &= ~RCC_CR_HSEON; RCC->CR &= ~RCC_CR_HSION;
} }
void __system_init(void) void __system_init(void)