Skip to content

Commit 55d8d39

Browse files
authored
Merge pull request #96 from Disasm/fix-clock-setup
Fix pllsrc bits for HSE
2 parents b6b1840 + 407bd89 commit 55d8d39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rcc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ mod inner {
297297
feature = "stm32f098",
298298
))]
299299
(SysClkSource::HSI48, _) => 0b11,
300-
(SysClkSource::HSE(_, _), _) => 0b01,
300+
(SysClkSource::HSE(_, _), _) => 0b10,
301301
};
302302

303303
// Set PLL source and multiplier

0 commit comments

Comments
 (0)