Introduce driver::HardwareAddress without smoltcp dependency

This commit is contained in:
Ruben De Smet
2023-07-31 10:40:48 +02:00
parent 69c0a89aa5
commit 4afdce4ec5
11 changed files with 54 additions and 26 deletions

View File

@ -96,7 +96,7 @@ pub async fn new<'a, const N_RX: usize, const N_TX: usize, SPI: SpiDevice, INT:
let mac = W5500::new(spi_dev, mac_addr).await.unwrap();
let (runner, device) = ch::new(&mut state.ch_state, mac_addr);
let (runner, device) = ch::new(&mut state.ch_state, ch::driver::HardwareAddress::Ethernet(mac_addr));
(
device,
Runner {