Introduce driver::HardwareAddress without smoltcp dependency
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
|
||||
use core::task::Context;
|
||||
|
||||
use embassy_net_driver::{Capabilities, LinkState, Medium};
|
||||
use embassy_net_driver::{Capabilities, HardwareAddress, LinkState, Medium};
|
||||
use embassy_sync::blocking_mutex::raw::CriticalSectionRawMutex;
|
||||
use embassy_sync::channel::Channel;
|
||||
|
||||
@ -76,7 +76,7 @@ impl<'d> embassy_net_driver::Driver for Driver<'d> {
|
||||
fn hardware_address(&self) -> HardwareAddress {
|
||||
// self.mac_addr
|
||||
|
||||
HardwareAddress::Ethernet(EthernetAddress([0; 6]))
|
||||
HardwareAddress::Ieee802154([0; 8])
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user