diff --git a/rtic-monotonics/src/rp2040.rs b/rtic-monotonics/src/rp2040.rs index 9b66bca059..f2cc7b64ab 100644 --- a/rtic-monotonics/src/rp2040.rs +++ b/rtic-monotonics/src/rp2040.rs @@ -149,7 +149,7 @@ macro_rules! make_rp2040_monotonic_handler { pub struct Rp2040Token; - unsafe impl $crate::InterruptToken + unsafe impl $crate::InterruptToken<$crate::rp2040::Timer> for Rp2040Token { } diff --git a/rtic-monotonics/src/systick.rs b/rtic-monotonics/src/systick.rs index 85184dbda1..a2817832a1 100644 --- a/rtic-monotonics/src/systick.rs +++ b/rtic-monotonics/src/systick.rs @@ -167,7 +167,7 @@ macro_rules! make_systick_handler { pub struct SystickToken; - unsafe impl $crate::InterruptToken + unsafe impl $crate::InterruptToken<$crate::systick::Systick> for SystickToken { }