diff options
Diffstat (limited to 'embassy-executor/src/interrupt.rs')
| -rw-r--r-- | embassy-executor/src/interrupt.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-executor/src/interrupt.rs b/embassy-executor/src/interrupt.rs index f8b0809da..c1084ea7b 100644 --- a/embassy-executor/src/interrupt.rs +++ b/embassy-executor/src/interrupt.rs | |||
| @@ -5,7 +5,7 @@ use core::mem::MaybeUninit; | |||
| 5 | 5 | ||
| 6 | use atomic_polyfill::{AtomicBool, Ordering}; | 6 | use atomic_polyfill::{AtomicBool, Ordering}; |
| 7 | 7 | ||
| 8 | use crate::raw::{self, OpaqueInterruptContext, Pender, PenderInner}; | 8 | use crate::raw::{self, OpaqueInterruptContext, Pender}; |
| 9 | 9 | ||
| 10 | /// An interrupt source that can be used to drive an [`InterruptExecutor`]. | 10 | /// An interrupt source that can be used to drive an [`InterruptExecutor`]. |
| 11 | // Name pending | 11 | // Name pending |
| @@ -100,7 +100,7 @@ impl InterruptModeExecutor { | |||
| 100 | unsafe { | 100 | unsafe { |
| 101 | (&mut *self.executor.get()) | 101 | (&mut *self.executor.get()) |
| 102 | .as_mut_ptr() | 102 | .as_mut_ptr() |
| 103 | .write(raw::Executor::new(Pender(PenderInner::Interrupt(irq.context())))) | 103 | .write(raw::Executor::new(Pender::Interrupt(irq.context()))) |
| 104 | } | 104 | } |
| 105 | 105 | ||
| 106 | let executor = unsafe { (&*self.executor.get()).assume_init_ref() }; | 106 | let executor = unsafe { (&*self.executor.get()).assume_init_ref() }; |
