Fix f2, wl compilation

This commit is contained in:
chemicstry
2022-07-10 21:46:14 +03:00
parent f43545f36e
commit 3bf1e1d4aa
2 changed files with 2 additions and 2 deletions

View File

@ -454,7 +454,7 @@ pub(crate) unsafe fn init(config: Config) {
let (sys_clk, sw) = match config.mux {
ClockSrc::HSI => {
assert!(config.hsi, "HSI must be enabled to be used as system clock");
(HSI, Sw::HSI)
(HSI_FREQ, Sw::HSI)
}
ClockSrc::HSE => {
let hse_config = config