mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
impl defmt::Format for Instant
This commit is contained in:
parent
80ce73a2c1
commit
041a22a958
@ -7,7 +7,7 @@ use core::task::{Context, Poll};
|
||||
|
||||
use super::{now, Duration};
|
||||
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, defmt::Format)]
|
||||
pub struct Instant {
|
||||
ticks: u64,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user