diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-05-12 23:16:57 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-12 23:16:57 +0000 |
| commit | aaf4cb0cb2bdfc8ce7104d323ea8a364139c3a18 (patch) | |
| tree | 40d286569130d872ca785c367931ffe618c49ccb /examples/stm32f4/src/bin/eth.rs | |
| parent | fd97c52d78ac1f758c38972db5ea487dfad6c5ed (diff) | |
| parent | b13110839624bc63904510e7bb815eca63b8c617 (diff) | |
Merge pull request #2934 from embassy-rs/example-papercuts
Fix misc example papercuts.
Diffstat (limited to 'examples/stm32f4/src/bin/eth.rs')
| -rw-r--r-- | examples/stm32f4/src/bin/eth.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/stm32f4/src/bin/eth.rs b/examples/stm32f4/src/bin/eth.rs index 7f5c8fdb1..648c45bbd 100644 --- a/examples/stm32f4/src/bin/eth.rs +++ b/examples/stm32f4/src/bin/eth.rs | |||
| @@ -62,9 +62,9 @@ async fn main(spawner: Spawner) -> ! { | |||
| 62 | 62 | ||
| 63 | let mac_addr = [0x00, 0x00, 0xDE, 0xAD, 0xBE, 0xEF]; | 63 | let mac_addr = [0x00, 0x00, 0xDE, 0xAD, 0xBE, 0xEF]; |
| 64 | 64 | ||
| 65 | static PACKETS: StaticCell<PacketQueue<16, 16>> = StaticCell::new(); | 65 | static PACKETS: StaticCell<PacketQueue<4, 4>> = StaticCell::new(); |
| 66 | let device = Ethernet::new( | 66 | let device = Ethernet::new( |
| 67 | PACKETS.init(PacketQueue::<16, 16>::new()), | 67 | PACKETS.init(PacketQueue::<4, 4>::new()), |
| 68 | p.ETH, | 68 | p.ETH, |
| 69 | Irqs, | 69 | Irqs, |
| 70 | p.PA1, | 70 | p.PA1, |
