diff --git a/embassy/src/time.rs b/embassy/src/time.rs index 9a53c4daf..532a53a38 100644 --- a/embassy/src/time.rs +++ b/embassy/src/time.rs @@ -117,7 +117,7 @@ impl Sub 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 { ticks: u32, }