diff options
| author | Yandrik <me@yandrik.dev> | 2023-03-15 20:04:27 +0100 |
|---|---|---|
| committer | Yandrik <me@yandrik.dev> | 2023-03-15 20:04:27 +0100 |
| commit | a071ab05b2bb443672c0c21386522d5ebcbcb63a (patch) | |
| tree | 573cc7ed723f2eb0e252b64486307d83bd7a2e42 /rtic-monotonics/src/rp2040.rs | |
| parent | 15b9db4c5d60f8cc7c192261ad01b1ebf74faa83 (diff) | |
refactor(macro): used $crate for better interop
Diffstat (limited to 'rtic-monotonics/src/rp2040.rs')
| -rw-r--r-- | rtic-monotonics/src/rp2040.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rtic-monotonics/src/rp2040.rs b/rtic-monotonics/src/rp2040.rs index 93472e6..9b66bca 100644 --- a/rtic-monotonics/src/rp2040.rs +++ b/rtic-monotonics/src/rp2040.rs @@ -144,12 +144,12 @@ macro_rules! make_rp2040_monotonic_handler { #[no_mangle] #[allow(non_snake_case)] unsafe extern "C" fn TIMER_IRQ_0() { - rtic_monotonics::rp2040::Timer::__tq().on_monotonic_interrupt(); + $crate::rp2040::Timer::__tq().on_monotonic_interrupt(); } pub struct Rp2040Token; - unsafe impl rtic_monotonics::InterruptToken<rtic_monotonics::rp2040::Timer> + unsafe impl $crate::InterruptToken<rtic_monotonics::rp2040::Timer> for Rp2040Token { } |
