diff options
author | Brian Cully <bjc@kublai.com> | 2019-09-26 08:54:03 -0400 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2019-09-26 08:54:03 -0400 |
commit | a546201a869c7103eab3b6870b3340ea73389740 (patch) | |
tree | 198c9a98433aee139c261a730a37d27d23750bac /src/lib.rs | |
parent | ea196093f22c8d5d5f2d6bebf39496ccc4b6a1c8 (diff) | |
download | bootkbd-a546201a869c7103eab3b6870b3340ea73389740.tar.gz bootkbd-a546201a869c7103eab3b6870b3340ea73389740.zip |
Add a TODO note about possibly uneccesary device descriptor fetch.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) }; |