stm32/eth: fix h7 examples

The STM32H7 examples enable `dhcpv4` and `dns` features. Both use one
socket, meaning that we need one extra socket for our firmware tcp
socket.
This commit is contained in:
Badr Bouslikhin 2023-12-05 19:48:03 +01:00
parent 83bed7bca4
commit d2a7322978
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ async fn main(spawner: Spawner) -> ! {
let stack = &*make_static!(Stack::new( let stack = &*make_static!(Stack::new(
device, device,
config, config,
make_static!(StackResources::<2>::new()), make_static!(StackResources::<3>::new()),
seed seed
)); ));

View File

@ -93,7 +93,7 @@ async fn main(spawner: Spawner) -> ! {
let stack = &*make_static!(Stack::new( let stack = &*make_static!(Stack::new(
device, device,
config, config,
make_static!(StackResources::<2>::new()), make_static!(StackResources::<3>::new()),
seed seed
)); ));