diff options
| author | Gabriel Górski <[email protected]> | 2023-10-09 12:00:23 +0200 |
|---|---|---|
| committer | Gabriel Górski <[email protected]> | 2023-10-09 13:46:56 +0200 |
| commit | e62bf6a9fd97979d74ed8ba8022d867d4a8a0d70 (patch) | |
| tree | bf4c584bcce7a9e13db9585b0dcd772390831a58 /examples/stm32h7/src | |
| parent | 7526b8edba9bbfec7831959afef7736f2d1a39b1 (diff) | |
Patch tests & examples
Diffstat (limited to 'examples/stm32h7/src')
| -rw-r--r-- | examples/stm32h7/src/bin/eth.rs | 3 | ||||
| -rw-r--r-- | examples/stm32h7/src/bin/eth_client.rs | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/examples/stm32h7/src/bin/eth.rs b/examples/stm32h7/src/bin/eth.rs index a6603d507..6fbf43442 100644 --- a/examples/stm32h7/src/bin/eth.rs +++ b/examples/stm32h7/src/bin/eth.rs | |||
| @@ -77,9 +77,8 @@ async fn main(spawner: Spawner) -> ! { | |||
| 77 | p.PG13, | 77 | p.PG13, |
| 78 | p.PB13, | 78 | p.PB13, |
| 79 | p.PG11, | 79 | p.PG11, |
| 80 | GenericSMI::new(), | 80 | GenericSMI::new(0), |
| 81 | mac_addr, | 81 | mac_addr, |
| 82 | 0, | ||
| 83 | ); | 82 | ); |
| 84 | 83 | ||
| 85 | let config = embassy_net::Config::dhcpv4(Default::default()); | 84 | let config = embassy_net::Config::dhcpv4(Default::default()); |
diff --git a/examples/stm32h7/src/bin/eth_client.rs b/examples/stm32h7/src/bin/eth_client.rs index 596de2f40..4db7aa252 100644 --- a/examples/stm32h7/src/bin/eth_client.rs +++ b/examples/stm32h7/src/bin/eth_client.rs | |||
| @@ -78,9 +78,8 @@ async fn main(spawner: Spawner) -> ! { | |||
| 78 | p.PG13, | 78 | p.PG13, |
| 79 | p.PB13, | 79 | p.PB13, |
| 80 | p.PG11, | 80 | p.PG11, |
| 81 | GenericSMI::new(), | 81 | GenericSMI::new(0), |
| 82 | mac_addr, | 82 | mac_addr, |
| 83 | 0, | ||
| 84 | ); | 83 | ); |
| 85 | 84 | ||
| 86 | let config = embassy_net::Config::dhcpv4(Default::default()); | 85 | let config = embassy_net::Config::dhcpv4(Default::default()); |
