From a2d1e7f02ca8d94c755ced56f1db11646ac2aa72 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Tue, 27 Jun 2023 03:56:25 +0200 Subject: [PATCH] rp/usb: add TODO: implement VBUS detection. --- embassy-rp/src/usb.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/embassy-rp/src/usb.rs b/embassy-rp/src/usb.rs index 1900ab41..b3f3bd92 100644 --- a/embassy-rp/src/usb.rs +++ b/embassy-rp/src/usb.rs @@ -353,6 +353,7 @@ impl<'d, T: Instance> driver::Bus for Bus<'d, T> { poll_fn(move |cx| { BUS_WAKER.register(cx.waker()); + // TODO: implement VBUS detection. if !self.inited { self.inited = true; return Poll::Ready(Event::PowerDetected);