diff options
| -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 f87700be6..4fc4312b9 100644 --- a/embassy-executor/src/spawner.rs +++ b/embassy-executor/src/spawner.rs | |||
| @@ -182,7 +182,7 @@ impl Spawner { | |||
| 182 | } | 182 | } |
| 183 | 183 | ||
| 184 | /// When rtos-trace is disabled, spawn_named falls back to regular spawn. | 184 | /// When rtos-trace is disabled, spawn_named falls back to regular spawn. |
| 185 | /// This maintains API compatibility while optimizing out the name parameter. | 185 | /// This maintains API compatibility while optimizing out the name parameter. |
| 186 | #[cfg(not(feature = "rtos-trace"))] | 186 | #[cfg(not(feature = "rtos-trace"))] |
| 187 | pub fn spawn_named<S>(&self, _name: &'static str, token: SpawnToken<S>) -> Result<(), SpawnError> { | 187 | pub fn spawn_named<S>(&self, _name: &'static str, token: SpawnToken<S>) -> Result<(), SpawnError> { |
| 188 | self.spawn(token) | 188 | self.spawn(token) |
