diff options
| -rw-r--r-- | embassy-executor/src/raw/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/embassy-executor/src/raw/mod.rs b/embassy-executor/src/raw/mod.rs index 35c82557c..2928848b8 100644 --- a/embassy-executor/src/raw/mod.rs +++ b/embassy-executor/src/raw/mod.rs | |||
| @@ -89,6 +89,8 @@ pub(crate) struct TaskHeader { | |||
| 89 | 89 | ||
| 90 | /// Integrated timer queue storage. This field should not be accessed outside of the timer queue. | 90 | /// Integrated timer queue storage. This field should not be accessed outside of the timer queue. |
| 91 | pub(crate) timer_queue_item: timer_queue::TimerQueueItem, | 91 | pub(crate) timer_queue_item: timer_queue::TimerQueueItem, |
| 92 | #[cfg(feature = "trace")] | ||
| 93 | pub(crate) name: Option<&'static str>, | ||
| 92 | } | 94 | } |
| 93 | 95 | ||
| 94 | /// This is essentially a `&'static TaskStorage<F>` where the type of the future has been erased. | 96 | /// This is essentially a `&'static TaskStorage<F>` where the type of the future has been erased. |
| @@ -190,6 +192,8 @@ impl<F: Future + 'static> TaskStorage<F> { | |||
| 190 | poll_fn: SyncUnsafeCell::new(None), | 192 | poll_fn: SyncUnsafeCell::new(None), |
| 191 | 193 | ||
| 192 | timer_queue_item: timer_queue::TimerQueueItem::new(), | 194 | timer_queue_item: timer_queue::TimerQueueItem::new(), |
| 195 | #[cfg(feature = "trace")] | ||
| 196 | name: None, | ||
| 193 | }, | 197 | }, |
| 194 | future: UninitCell::uninit(), | 198 | future: UninitCell::uninit(), |
| 195 | } | 199 | } |
