From 2bc254a82487b8422535a47059f3f55fe367cfa6 Mon Sep 17 00:00:00 2001 From: Koen Zandberg Date: Thu, 1 Feb 2024 10:48:44 +0100 Subject: [PATCH] riot-rs-embassy: Use locally admin MAC addresses --- src/riot-rs-embassy/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/riot-rs-embassy/src/lib.rs b/src/riot-rs-embassy/src/lib.rs index 295330c13..2e68a39a7 100644 --- a/src/riot-rs-embassy/src/lib.rs +++ b/src/riot-rs-embassy/src/lib.rs @@ -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};