Merge pull request #3840 from bugadani/inline

Allow inlining on time driver boundary
This commit is contained in:
Dario Nieuwenhuis
2025-02-03 16:42:38 +00:00
committed by GitHub
2 changed files with 5 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ impl Instant {
pub const MAX: Instant = Instant { ticks: u64::MAX };
/// Returns an Instant representing the current time.
#[inline]
pub fn now() -> Instant {
Instant {
ticks: embassy_time_driver::now(),