diff --git a/embassy/src/time/traits.rs b/embassy/src/time/traits.rs index 2c97b13a..4c6134c3 100644 --- a/embassy/src/time/traits.rs +++ b/embassy/src/time/traits.rs @@ -30,15 +30,3 @@ pub trait Alarm { /// If no alarm was set, this is a noop. fn clear(&self); } - -impl Alarm for &T { - fn set_callback(&self, callback: fn(*mut ()), ctx: *mut ()) { - T::set_callback(self, callback, ctx); - } - fn set(&self, timestamp: u64) { - T::set(self, timestamp); - } - fn clear(&self) { - T::clear(self) - } -}