diff --git a/examples/ethernet-nucleo-h743zi2.rs b/examples/ethernet-nucleo-h743zi2.rs index 787ca35c..a4915b98 100644 --- a/examples/ethernet-nucleo-h743zi2.rs +++ b/examples/ethernet-nucleo-h743zi2.rs @@ -69,7 +69,7 @@ fn main() -> ! { // Initialise SRAM3 info!("Setup RCC... "); - dp.RCC.ahb2enr.modify(|_, w| w.sram3en().set_bit()); + dp.RCC.ahb2enr().modify(|_, w| w.sram3en().set_bit()); // Initialise clocks... let rcc = dp.RCC.constrain(); diff --git a/examples/qspi_mdma.rs b/examples/qspi_mdma.rs index a7dd6dd4..79cad15d 100644 --- a/examples/qspi_mdma.rs +++ b/examples/qspi_mdma.rs @@ -71,7 +71,7 @@ fn main() -> ! { qspi.configure_mode(QspiMode::FourBit).unwrap(); // Disable address phase qspi.inner_mut() - .ccr + .ccr() .modify(|_, w| unsafe { w.admode().bits(0) }); // Source buffer in TCM