Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Harishguna Satgunarajah committed Oct 2, 2023
1 parent 79fedc6 commit c00cebc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/ethernet-rtic-stm32h735g-dk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ mod app {
} = ethernet::new(
dp.ETHERNET_MAC,
dp.ETHERNET_MTL,
dp.ETHERNET_DMA,
dp.ETHERNET_DMA,
(
rmii_ref_clk,
rmii_mdio,
Expand All @@ -221,7 +221,6 @@ mod app {
lan8742a.phy_init();
// The eth_dma should not be used until the PHY reports the link is up


// unsafe: mutable reference to static storage, we only do this once
let store = unsafe {
let store_ptr = STORE.as_mut_ptr();
Expand Down

0 comments on commit c00cebc

Please sign in to comment.