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
1 changed files with 1 additions and 1 deletions

View File

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