aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32h7/src/bin/eth.rs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2025-01-26 21:53:00 +0100
committerDario Nieuwenhuis <[email protected]>2025-01-26 22:17:25 +0100
commitff52bde787031493ce174cdc1dcc2434fd16aa1b (patch)
tree7f3a1e5c9ea03f9f2b8ed2af28d6d2ea1164244f /examples/stm32h7/src/bin/eth.rs
parentafe6b9a192f1434bb024040a20cef9509c307871 (diff)
stm32: change all examples and tests to use GenericSMI::new_auto().
Diffstat (limited to 'examples/stm32h7/src/bin/eth.rs')
-rw-r--r--examples/stm32h7/src/bin/eth.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32h7/src/bin/eth.rs b/examples/stm32h7/src/bin/eth.rs
index ec3f2c000..6665cd1d0 100644
--- a/examples/stm32h7/src/bin/eth.rs
+++ b/examples/stm32h7/src/bin/eth.rs
@@ -79,7 +79,7 @@ async fn main(spawner: Spawner) -> ! {
79 p.PG13, // TX_D0: Transmit Bit 0 79 p.PG13, // TX_D0: Transmit Bit 0
80 p.PB13, // TX_D1: Transmit Bit 1 80 p.PB13, // TX_D1: Transmit Bit 1
81 p.PG11, // TX_EN: Transmit Enable 81 p.PG11, // TX_EN: Transmit Enable
82 GenericSMI::new(0), 82 GenericSMI::new_auto(),
83 mac_addr, 83 mac_addr,
84 ); 84 );
85 85