diff options
Diffstat (limited to 'embassy-executor/src')
| -rw-r--r-- | embassy-executor/src/spawner.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-executor/src/spawner.rs b/embassy-executor/src/spawner.rs index fdd3ce002..9817a2870 100644 --- a/embassy-executor/src/spawner.rs +++ b/embassy-executor/src/spawner.rs | |||
| @@ -34,7 +34,7 @@ impl<S> SpawnToken<S> { | |||
| 34 | } | 34 | } |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | /// Returns the task if available, otherwise 0 | 37 | /// Returns the task id if available, otherwise 0 |
| 38 | /// This can be used in combination with rtos-trace to match task names with id's | 38 | /// This can be used in combination with rtos-trace to match task names with id's |
| 39 | pub fn id(&self) -> u32 { | 39 | pub fn id(&self) -> u32 { |
| 40 | match self.raw_task { | 40 | match self.raw_task { |
