diff options
author | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2022-05-02 16:15:05 +0200 |
---|---|---|
committer | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2022-05-02 16:19:34 +0200 |
commit | a5f5c3a844561d56c91513f36a1077038d8a0336 (patch) | |
tree | 017ea0d73195fb0665a27ff97e6da5902e44c25b /examples/nrf | |
parent | e74af83681bc65524acda4ec0a2b52e447c62daf (diff) | |
download | embassy-a5f5c3a844561d56c91513f36a1077038d8a0336.zip |
net: add functions to get current Eth and IP config
Diffstat (limited to 'examples/nrf')
-rw-r--r-- | examples/nrf/src/bin/usb_ethernet.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nrf/src/bin/usb_ethernet.rs b/examples/nrf/src/bin/usb_ethernet.rs index 70460d23..f14a29c4 100644 --- a/examples/nrf/src/bin/usb_ethernet.rs +++ b/examples/nrf/src/bin/usb_ethernet.rs @@ -265,7 +265,7 @@ impl embassy_net::Device for Device { RX_CHANNEL.try_recv().ok() } - fn ethernet_address(&mut self) -> [u8; 6] { + fn ethernet_address(&self) -> [u8; 6] { self.mac_addr } } |