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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user