diff --git a/embassy/src/executor/mod.rs b/embassy/src/executor/mod.rs index facd71d1..5e835476 100644 --- a/embassy/src/executor/mod.rs +++ b/embassy/src/executor/mod.rs @@ -216,7 +216,8 @@ impl Executor { unsafe { if self.alarm.is_some() { self.timer_queue.dequeue_expired(Instant::now(), |p| { - self.enqueue(p); + let header = &*p; + header.enqueue(); }); }