Skip to content

Commit

Permalink
Update examples for new pac
Browse files Browse the repository at this point in the history
  • Loading branch information
usbalbin committed Dec 16, 2024
1 parent 5bbd409 commit 18d6873
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/ethernet-nucleo-h743zi2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion examples/qspi_mdma.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 18d6873

Please sign in to comment.