mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 22:05:37 +01:00
refactor(macro): used $crate for better interop
This commit is contained in:
parent
15b9db4c5d
commit
a071ab05b2
3 changed files with 5 additions and 5 deletions
|
|
@ -162,12 +162,12 @@ macro_rules! make_systick_handler {
|
|||
#[no_mangle]
|
||||
#[allow(non_snake_case)]
|
||||
unsafe extern "C" fn SysTick() {
|
||||
rtic_monotonics::systick::Systick::__tq().on_monotonic_interrupt();
|
||||
$crate::systick::Systick::__tq().on_monotonic_interrupt();
|
||||
}
|
||||
|
||||
pub struct SystickToken;
|
||||
|
||||
unsafe impl rtic_monotonics::InterruptToken<rtic_monotonics::systick::Systick>
|
||||
unsafe impl $crate::InterruptToken<rtic_monotonics::systick::Systick>
|
||||
for SystickToken
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue