diff options
Diffstat (limited to 'examples/stm32f7/src')
| -rw-r--r-- | examples/stm32f7/src/bin/eth.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32f7/src/bin/eth.rs b/examples/stm32f7/src/bin/eth.rs index 9febb14e6..b947361ac 100644 --- a/examples/stm32f7/src/bin/eth.rs +++ b/examples/stm32f7/src/bin/eth.rs | |||
| @@ -91,7 +91,7 @@ async fn main(spawner: Spawner) -> ! { | |||
| 91 | loop { | 91 | loop { |
| 92 | let mut socket = TcpSocket::new(&stack, &mut rx_buffer, &mut tx_buffer); | 92 | let mut socket = TcpSocket::new(&stack, &mut rx_buffer, &mut tx_buffer); |
| 93 | 93 | ||
| 94 | socket.set_timeout(Some(embassy_net::SmolDuration::from_secs(10))); | 94 | socket.set_timeout(Some(embassy_time::Duration::from_secs(10))); |
| 95 | 95 | ||
| 96 | let remote_endpoint = (Ipv4Address::new(10, 42, 0, 1), 8000); | 96 | let remote_endpoint = (Ipv4Address::new(10, 42, 0, 1), 8000); |
| 97 | info!("connecting..."); | 97 | info!("connecting..."); |
