Rename StaticConfig to StaticConfigV4

This commit is contained in:
Ruben De Smet
2023-06-05 14:57:17 +02:00
parent 44624b2d7a
commit 54bab33c73
19 changed files with 24 additions and 24 deletions

View File

@ -82,7 +82,7 @@ async fn main(spawner: Spawner) -> ! {
);
let config = embassy_net::Config::Dhcp(Default::default());
//let config = embassy_net::Config::Static(embassy_net::StaticConfig {
//let config = embassy_net::Config::StaticV4(embassy_net::StaticConfigV4 {
// address: Ipv4Cidr::new(Ipv4Address::new(10, 42, 0, 61), 24),
// dns_servers: Vec::new(),
// gateway: Some(Ipv4Address::new(10, 42, 0, 1)),