improved ethernet mio typing check
Some checks failed
ci / Check build (pull_request) Has been cancelled
ci / Check formatting (pull_request) Has been cancelled
ci / Check Documentation Build (pull_request) Has been cancelled
ci / Clippy (pull_request) Has been cancelled
ci / Check build (push) Has been cancelled
ci / Check formatting (push) Has been cancelled
ci / Check Documentation Build (push) Has been cancelled
ci / Clippy (push) Has been cancelled

This commit is contained in:
Robin Mueller
2025-10-27 00:11:14 +01:00
parent 2e1efd154d
commit 064f99ddea
2 changed files with 119 additions and 125 deletions

View File

@@ -290,7 +290,7 @@ async fn main(spawner: Spawner) -> ! {
);
// Configures all the physical pins for ethernet operation and sets up the
// ethernet peripheral.
let mut eth = zynq7000_hal::eth::Ethernet::new_with_mio(
let mut eth = zynq7000_hal::eth::Ethernet::new_with_mio_eth_0(
eth_ll,
eth_cfg,
gpio_pins.mio.mio16,