Skip to content

Commit b2fd801

Browse files
committed
Make hclk/sysclk divisible with 8
1 parent 81f80e4 commit b2fd801

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
@@ -71,7 +71,7 @@ pub fn setup_peripherals(p: stm32_eth::stm32::Peripherals) -> (Clocks, Gpio, Par
7171
{
7272
let rcc = p.RCC.constrain();
7373

74-
let clocks = rcc.cfgr.sysclk(100.MHz()).hclk(100.MHz());
74+
let clocks = rcc.cfgr.sysclk(96.MHz()).hclk(96.MHz());
7575

7676
#[cfg(feature = "stm32f4xx-hal")]
7777
let clocks = {

0 commit comments

Comments
 (0)