diff options
Diffstat (limited to 'embassy-time')
| -rw-r--r-- | embassy-time/src/instant.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-time/src/instant.rs b/embassy-time/src/instant.rs index 909f1b173..cae80e51f 100644 --- a/embassy-time/src/instant.rs +++ b/embassy-time/src/instant.rs | |||
| @@ -17,6 +17,7 @@ impl Instant { | |||
| 17 | pub const MAX: Instant = Instant { ticks: u64::MAX }; | 17 | pub const MAX: Instant = Instant { ticks: u64::MAX }; |
| 18 | 18 | ||
| 19 | /// Returns an Instant representing the current time. | 19 | /// Returns an Instant representing the current time. |
| 20 | #[inline] | ||
| 20 | pub fn now() -> Instant { | 21 | pub fn now() -> Instant { |
| 21 | Instant { | 22 | Instant { |
| 22 | ticks: embassy_time_driver::now(), | 23 | ticks: embassy_time_driver::now(), |
