From 28790218c0cd6c6ea421aa691d904ac466059087 Mon Sep 17 00:00:00 2001 From: Yandrik Date: Wed, 15 Mar 2023 20:15:20 +0100 Subject: [PATCH] refactor(macro): changed not-yet-changed crate names to $crate --- rtic-monotonics/src/rp2040.rs | 2 +- rtic-monotonics/src/systick.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 { }