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 | |
| parent | b96f44cfd41175dda9789bb27bf18c12340e225a (diff) | |
Retain timer_queue_item
Diffstat (limited to 'embassy-executor')
| -rw-r--r-- | embassy-executor/CHANGELOG.md | 2 | ||||
| -rw-r--r-- | embassy-executor/src/raw/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/embassy-executor/CHANGELOG.md b/embassy-executor/CHANGELOG.md index e2214b8ef..91a1448c2 100644 --- a/embassy-executor/CHANGELOG.md +++ b/embassy-executor/CHANGELOG.md | |||
| @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 9 | ## Unreleased - ReleaseDate | 9 | ## Unreleased - ReleaseDate |
| 10 | 10 | ||
| 11 | - Added `extern "Rust" fn __embassy_time_queue_item_from_waker` | 11 | - Added `extern "Rust" fn __embassy_time_queue_item_from_waker` |
| 12 | - Removed `TaskRef::dangling` and `TaskRef::timer_queue_item` | 12 | - Removed `TaskRef::dangling` |
| 13 | - Added `embassy_time_queue_utils` as a dependency | 13 | - Added `embassy_time_queue_utils` as a dependency |
| 14 | - Moved the `TimeQueueItem` struct and `timer-item-payload-size-*` features into embassy-time-queue-utils | 14 | - Moved the `TimeQueueItem` struct and `timer-item-payload-size-*` features into embassy-time-queue-utils |
| 15 | 15 | ||
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 | ||
