Browse Source

Merge pull request #96 from Disasm/fix-clock-setup

Fix pllsrc bits for HSE
trying.tmp
Daniel Egger 3 years ago committed by GitHub
parent
commit
55d8d39b48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/rcc.rs

2
src/rcc.rs

@ -297,7 +297,7 @@ mod inner {
feature = "stm32f098",
))]
(SysClkSource::HSI48, _) => 0b11,
(SysClkSource::HSE(_, _), _) => 0b01,
(SysClkSource::HSE(_, _), _) => 0b10,
};
// Set PLL source and multiplier

Loading…
Cancel
Save