aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy/src/interrupt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy/src/interrupt.rs b/embassy/src/interrupt.rs
index 99d7af753..df3a79ccc 100644
--- a/embassy/src/interrupt.rs
+++ b/embassy/src/interrupt.rs
@@ -30,7 +30,7 @@ unsafe impl cortex_m::interrupt::InterruptNumber for NrWrap {
30 } 30 }
31} 31}
32 32
33pub unsafe trait Interrupt { 33pub unsafe trait Interrupt: crate::util::Unborrow<Target = Self> {
34 type Priority: From<u8> + Into<u8> + Copy; 34 type Priority: From<u8> + Into<u8> + Copy;
35 fn number(&self) -> u16; 35 fn number(&self) -> u16;
36 unsafe fn steal() -> Self; 36 unsafe fn steal() -> Self;