commit
479ccf17df
@ -381,10 +381,7 @@ impl<'a> Control<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let ioctl = CancelOnDrop(self.ioctl_state);
|
let ioctl = CancelOnDrop(self.ioctl_state);
|
||||||
|
let resp_len = ioctl.0.do_ioctl(kind, cmd, iface, buf).await;
|
||||||
ioctl.0.do_ioctl(kind, cmd, iface, buf).await;
|
|
||||||
let resp_len = ioctl.0.wait_complete().await;
|
|
||||||
|
|
||||||
ioctl.defuse();
|
ioctl.defuse();
|
||||||
|
|
||||||
resp_len
|
resp_len
|
||||||
|
@ -197,9 +197,6 @@ macro_rules! unwrap {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "defmt-timestamp-uptime")]
|
|
||||||
defmt::timestamp! {"{=u64:us}", crate::time::Instant::now().as_micros() }
|
|
||||||
|
|
||||||
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
||||||
pub struct NoneError;
|
pub struct NoneError;
|
||||||
|
|
||||||
|
@ -195,9 +195,6 @@ macro_rules! unwrap {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "defmt-timestamp-uptime")]
|
|
||||||
defmt::timestamp! {"{=u64:us}", crate::time::Instant::now().as_micros() }
|
|
||||||
|
|
||||||
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
||||||
pub struct NoneError;
|
pub struct NoneError;
|
||||||
|
|
||||||
|
@ -195,9 +195,6 @@ macro_rules! unwrap {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "defmt-timestamp-uptime")]
|
|
||||||
defmt::timestamp! {"{=u64:us}", crate::time::Instant::now().as_micros() }
|
|
||||||
|
|
||||||
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
||||||
pub struct NoneError;
|
pub struct NoneError;
|
||||||
|
|
||||||
|
@ -195,9 +195,6 @@ macro_rules! unwrap {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "defmt-timestamp-uptime")]
|
|
||||||
defmt::timestamp! {"{=u64:us}", crate::time::Instant::now().as_micros() }
|
|
||||||
|
|
||||||
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
||||||
pub struct NoneError;
|
pub struct NoneError;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user