diff options
Diffstat (limited to 'embassy-net/src')
| -rw-r--r-- | embassy-net/src/config/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/embassy-net/src/config/mod.rs b/embassy-net/src/config/mod.rs index 16470f7e6..94725dba6 100644 --- a/embassy-net/src/config/mod.rs +++ b/embassy-net/src/config/mod.rs | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | use heapless::consts::*; | ||
| 2 | use heapless::Vec; | 1 | use heapless::Vec; |
| 3 | use smoltcp::time::Instant; | 2 | use smoltcp::time::Instant; |
| 4 | use smoltcp::wire::{Ipv4Address, Ipv4Cidr}; | 3 | use smoltcp::wire::{Ipv4Address, Ipv4Cidr}; |
| @@ -29,7 +28,7 @@ pub enum Event { | |||
| 29 | pub struct Config { | 28 | pub struct Config { |
| 30 | pub address: Ipv4Cidr, | 29 | pub address: Ipv4Cidr, |
| 31 | pub gateway: Option<Ipv4Address>, | 30 | pub gateway: Option<Ipv4Address>, |
| 32 | pub dns_servers: Vec<Ipv4Address, U3>, | 31 | pub dns_servers: Vec<Ipv4Address, 3>, |
| 33 | } | 32 | } |
| 34 | 33 | ||
| 35 | pub trait Configurator { | 34 | pub trait Configurator { |
