From 1bf3a44e5d9a6709eb0ce1dc518de82a64a72a05 Mon Sep 17 00:00:00 2001 From: Dániel Buga Date: Sun, 17 Aug 2025 11:45:53 +0200 Subject: Retain timer_queue_item --- embassy-executor/src/raw/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embassy-executor/src') diff --git a/embassy-executor/src/raw/mod.rs b/embassy-executor/src/raw/mod.rs index 8e783b2af..4b17d4982 100644 --- a/embassy-executor/src/raw/mod.rs +++ b/embassy-executor/src/raw/mod.rs @@ -140,7 +140,7 @@ impl TaskRef { /// Safety /// /// This function must only be called in the context of the integrated timer queue. - unsafe fn timer_queue_item(mut self) -> &'static mut TimerQueueItem { + pub unsafe fn timer_queue_item(mut self) -> &'static mut TimerQueueItem { unsafe { &mut self.ptr.as_mut().timer_queue_item } } -- cgit