Merge pull request #1704 from rubdos/ieee802154-fixes

Expose IEEE802.15.4 address in Driver
This commit is contained in:
Dario Nieuwenhuis
2023-07-31 12:30:33 +00:00
committed by GitHub
12 changed files with 83 additions and 57 deletions

View File

@ -124,7 +124,7 @@ where
IN: InputPin + Wait,
OUT: OutputPin,
{
let (ch_runner, device) = ch::new(&mut state.ch, [0; 6]);
let (ch_runner, device) = ch::new(&mut state.ch, ch::driver::HardwareAddress::Ethernet([0; 6]));
let state_ch = ch_runner.state_runner();
let mut runner = Runner {