aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor
diff options
context:
space:
mode:
authorMurmele <[email protected]>2025-03-17 11:04:04 +0100
committerGitHub <[email protected]>2025-03-17 11:04:04 +0100
commite3b0581a876069fde325c82a14efc23f7cd6ad81 (patch)
tree35c26373198cb9c3a2c325c6032d70d6c1b786a2 /embassy-executor
parentedadc28f02f3f224680ca88f476d58bbbb106356 (diff)
Fix comment
Diffstat (limited to 'embassy-executor')
-rw-r--r--embassy-executor/src/spawner.rs2
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 {