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.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/embassy-executor/src/arch/cortex_m.rs b/embassy-executor/src/arch/cortex_m.rs
index ca1675c03..355a0f086 100644
--- a/embassy-executor/src/arch/cortex_m.rs
+++ b/embassy-executor/src/arch/cortex_m.rs
@@ -18,9 +18,7 @@ mod thread {
18 /// TODO 18 /// TODO
19 // Name pending 19 // Name pending
20 #[derive(Default)] // Default enables Executor::new 20 #[derive(Default)] // Default enables Executor::new
21 pub struct CortexMThreadContext { 21 pub struct CortexMThreadContext;
22 _not_send: core::marker::PhantomData<*mut ()>,
23 }
24 22
25 impl ThreadContext for CortexMThreadContext { 23 impl ThreadContext for CortexMThreadContext {
26 #[cfg(feature = "thread-context")] 24 #[cfg(feature = "thread-context")]