mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 14:53:03 +00:00
impl Format for Duration
This commit is contained in:
parent
3d64a8abef
commit
32a9b3f4ae
@ -117,7 +117,7 @@ impl Sub<Instant> for Instant {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Default, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)]
|
#[derive(defmt::Format, Debug, Default, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)]
|
||||||
pub struct Duration {
|
pub struct Duration {
|
||||||
ticks: u32,
|
ticks: u32,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user