Skip to content

Commit 14a2f31

Browse files
committed
Faster clocks!
1 parent bbb905d commit 14a2f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ pub fn setup_peripherals(p: stm32_eth::stm32::Peripherals) -> (Clocks, Gpio, Par
148148

149149
let pwrcfg = pwr.vos0(&syscfg).freeze();
150150

151-
let rcc = rcc.hclk(240.MHz());
151+
let rcc = rcc.hclk(240.MHz()).sys_ck(240.MHz());
152152

153153
let rcc = if cfg!(hse = "bypass") {
154154
rcc.bypass_hse().use_hse(8.MHz())

0 commit comments

Comments
 (0)