mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 14:53:03 +00:00
bring back TODO note about dropping ioctls
This commit is contained in:
parent
4c52104413
commit
c7646eb699
@ -273,6 +273,8 @@ impl<'a> Control<'a> {
|
||||
}
|
||||
|
||||
async fn ioctl(&mut self, kind: IoctlType, cmd: u32, iface: u32, buf: &mut [u8]) -> usize {
|
||||
// TODO cancel ioctl on future drop.
|
||||
|
||||
self.ioctl_state.do_ioctl(kind, cmd, iface, buf).await;
|
||||
let resp_len = self.ioctl_state.wait_complete().await;
|
||||
resp_len
|
||||
|
Loading…
Reference in New Issue
Block a user