diff options
| author | Dániel Buga <[email protected]> | 2025-08-17 11:45:53 +0200 |
|---|---|---|
| committer | Dániel Buga <[email protected]> | 2025-08-18 12:50:52 +0200 |
| commit | 1bf3a44e5d9a6709eb0ce1dc518de82a64a72a05 (patch) | |
| tree | a23670899548bacefcf625941d9048ec23dcc824 /embassy-executor/src/raw/mod.rs | |
| parent | b96f44cfd41175dda9789bb27bf18c12340e225a (diff) | |
Retain timer_queue_item
Diffstat (limited to 'embassy-executor/src/raw/mod.rs')
| -rw-r--r-- | embassy-executor/src/raw/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
| 140 | /// Safety | 140 | /// Safety |
| 141 | /// | 141 | /// |
| 142 | /// This function must only be called in the context of the integrated timer queue. | 142 | /// This function must only be called in the context of the integrated timer queue. |
| 143 | unsafe fn timer_queue_item(mut self) -> &'static mut TimerQueueItem { | 143 | pub unsafe fn timer_queue_item(mut self) -> &'static mut TimerQueueItem { |
| 144 | unsafe { &mut self.ptr.as_mut().timer_queue_item } | 144 | unsafe { &mut self.ptr.as_mut().timer_queue_item } |
| 145 | } | 145 | } |
| 146 | 146 | ||
