mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-27 04:10:25 +00:00
Retain timer_queue_item
This commit is contained in:
parent
b96f44cfd4
commit
1bf3a44e5d
@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
## Unreleased - ReleaseDate
|
||||
|
||||
- Added `extern "Rust" fn __embassy_time_queue_item_from_waker`
|
||||
- Removed `TaskRef::dangling` and `TaskRef::timer_queue_item`
|
||||
- Removed `TaskRef::dangling`
|
||||
- Added `embassy_time_queue_utils` as a dependency
|
||||
- Moved the `TimeQueueItem` struct and `timer-item-payload-size-*` features into embassy-time-queue-utils
|
||||
|
||||
|
@ -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 }
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user