diff options
Diffstat (limited to 'examples/stm32h7/src/bin/eth_client_mii.rs')
| -rw-r--r-- | examples/stm32h7/src/bin/eth_client_mii.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32h7/src/bin/eth_client_mii.rs b/examples/stm32h7/src/bin/eth_client_mii.rs index 99cd1a158..c6a108471 100644 --- a/examples/stm32h7/src/bin/eth_client_mii.rs +++ b/examples/stm32h7/src/bin/eth_client_mii.rs | |||
| @@ -101,7 +101,7 @@ async fn main(spawner: Spawner) -> ! { | |||
| 101 | let (stack, runner) = embassy_net::new(device, config, RESOURCES.init(StackResources::new()), seed); | 101 | let (stack, runner) = embassy_net::new(device, config, RESOURCES.init(StackResources::new()), seed); |
| 102 | 102 | ||
| 103 | // Launch network task | 103 | // Launch network task |
| 104 | unwrap!(spawner.spawn(net_task(runner))); | 104 | spawner.spawn(unwrap!(net_task(runner))); |
| 105 | 105 | ||
| 106 | // Ensure DHCP configuration is up before trying connect | 106 | // Ensure DHCP configuration is up before trying connect |
| 107 | stack.wait_config_up().await; | 107 | stack.wait_config_up().await; |
