From db862a60ee78f48c63d77fbd5c0ccd84fa1ce391 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Thu, 21 Apr 2022 18:27:00 +0200 Subject: [PATCH] Fix typo in driver.rs --- embassy/src/time/driver.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy/src/time/driver.rs b/embassy/src/time/driver.rs index 29256aab..760a828b 100644 --- a/embassy/src/time/driver.rs +++ b/embassy/src/time/driver.rs @@ -103,7 +103,7 @@ pub trait Driver: Send + Sync + 'static { fn set_alarm_callback(&self, alarm: AlarmHandle, callback: fn(*mut ()), ctx: *mut ()); /// Sets an alarm at the given timestamp. When the current timestamp reaches the alarm - /// timestamp, the provided callback funcion will be called. + /// timestamp, the provided callback function will be called. /// /// If `timestamp` is already in the past, the alarm callback must be immediately fired. /// In this case, it is allowed (but not mandatory) to call the alarm callback synchronously from `set_alarm`.