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:
parent
1cc3a85471
commit
3fc6e81569
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user