aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32h5/src/bin
diff options
context:
space:
mode:
authorRuben De Smet <[email protected]>2023-06-05 14:57:17 +0200
committerRuben De Smet <[email protected]>2023-06-06 17:04:21 +0200
commit54bab33c7342510be538bc6d8545fe50146557cf (patch)
treebafd49491fd9e40bc1a53b083c690406b1122899 /examples/stm32h5/src/bin
parent44624b2d7a15ccc94971fc8d2091800f67821c58 (diff)
Rename StaticConfig to StaticConfigV4
Diffstat (limited to 'examples/stm32h5/src/bin')
-rw-r--r--examples/stm32h5/src/bin/eth.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32h5/src/bin/eth.rs b/examples/stm32h5/src/bin/eth.rs
index 5d1eadf4b..811f74c88 100644
--- a/examples/stm32h5/src/bin/eth.rs
+++ b/examples/stm32h5/src/bin/eth.rs
@@ -82,7 +82,7 @@ async fn main(spawner: Spawner) -> ! {
82 ); 82 );
83 83
84 let config = embassy_net::Config::Dhcp(Default::default()); 84 let config = embassy_net::Config::Dhcp(Default::default());
85 //let config = embassy_net::Config::Static(embassy_net::StaticConfig { 85 //let config = embassy_net::Config::StaticV4(embassy_net::StaticConfigV4 {
86 // address: Ipv4Cidr::new(Ipv4Address::new(10, 42, 0, 61), 24), 86 // address: Ipv4Cidr::new(Ipv4Address::new(10, 42, 0, 61), 24),
87 // dns_servers: Vec::new(), 87 // dns_servers: Vec::new(),
88 // gateway: Some(Ipv4Address::new(10, 42, 0, 1)), 88 // gateway: Some(Ipv4Address::new(10, 42, 0, 1)),