From a546201a869c7103eab3b6870b3340ea73389740 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Thu, 26 Sep 2019 08:54:03 -0400 Subject: Add a TODO note about possibly uneccesary device descriptor fetch. --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 50b481d..397d526 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -166,6 +166,8 @@ impl Device { } DeviceState::WaitForSettle(until) => { + // TODO: This seems unnecessary. We're not using the + // device descriptor at all. if millis > until { let mut dev_desc: MaybeUninit = MaybeUninit::uninit(); let buf = unsafe { to_slice_mut(&mut dev_desc) }; -- cgit v1.2.3