aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src/arch/cortex_m.rs
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-executor/src/arch/cortex_m.rs')
-rw-r--r--embassy-executor/src/arch/cortex_m.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/embassy-executor/src/arch/cortex_m.rs b/embassy-executor/src/arch/cortex_m.rs
index 6c1300ae5..a29e5b23e 100644
--- a/embassy-executor/src/arch/cortex_m.rs
+++ b/embassy-executor/src/arch/cortex_m.rs
@@ -21,9 +21,7 @@ mod thread {
21 pub struct Context; 21 pub struct Context;
22 22
23 impl ThreadContext for Context { 23 impl ThreadContext for Context {
24 #[cfg(feature = "thread-context")]
25 fn context(&self) -> OpaqueThreadContext { 24 fn context(&self) -> OpaqueThreadContext {
26 // Enabling thread-context is not incorrect, just wasteful.
27 OpaqueThreadContext(0) 25 OpaqueThreadContext(0)
28 } 26 }
29 27