diff --git a/embassy-nrf/src/usb.rs b/embassy-nrf/src/usb.rs index 9b6e6e83..bfd48775 100644 --- a/embassy-nrf/src/usb.rs +++ b/embassy-nrf/src/usb.rs @@ -142,7 +142,7 @@ impl SignalledSupply { } } -impl UsbSupply for SignalledSupply { +impl UsbSupply for &SignalledSupply { fn is_usb_detected(&self) -> bool { self.usb_detected.load(Ordering::Relaxed) }