Skip to content

Commit

Permalink
riot-rs-embassy: Use locally admin MAC addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
bergzand committed Feb 1, 2024
1 parent d885422 commit 2bc254a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/riot-rs-embassy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,12 @@ async fn init_task(mut peripherals: arch::OptionalPeripherals) {

// Our MAC addr.
#[cfg(feature = "usb_ethernet")]
let our_mac_addr = [0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC];
let our_mac_addr = [0xCA, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC];

#[cfg(feature = "usb_ethernet")]
let usb_cdc_ecm = {
// Host's MAC addr. This is the MAC the host "thinks" its USB-to-ethernet adapter has.
let host_mac_addr = [0x88, 0x88, 0x88, 0x88, 0x88, 0x88];
let host_mac_addr = [0x8A, 0x88, 0x88, 0x88, 0x88, 0x88];

use embassy_usb::class::cdc_ncm::{CdcNcmClass, State};

Expand Down

0 comments on commit 2bc254a

Please sign in to comment.