Rename StaticConfig to StaticConfigV4
This commit is contained in:
@ -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)),
|
||||
|
Reference in New Issue
Block a user