aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
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<DeviceDescriptor> = MaybeUninit::uninit();
let buf = unsafe { to_slice_mut(&mut dev_desc) };