mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 22:05:37 +01:00
refactor: re-formatted files
This commit is contained in:
parent
60e5232ee9
commit
ef12ae6b04
3 changed files with 16 additions and 25 deletions
|
|
@ -157,8 +157,7 @@ impl embedded_hal_async::delay::DelayUs for Systick {
|
|||
/// Register the Systick interrupt for the monotonic.
|
||||
#[macro_export]
|
||||
macro_rules! make_systick_handler {
|
||||
() => {
|
||||
{
|
||||
() => {{
|
||||
#[no_mangle]
|
||||
#[allow(non_snake_case)]
|
||||
unsafe extern "C" fn SysTick() {
|
||||
|
|
@ -167,12 +166,8 @@ macro_rules! make_systick_handler {
|
|||
|
||||
pub struct SystickToken;
|
||||
|
||||
unsafe impl $crate::InterruptToken<$crate::systick::Systick>
|
||||
for SystickToken
|
||||
{
|
||||
}
|
||||
unsafe impl $crate::InterruptToken<$crate::systick::Systick> for SystickToken {}
|
||||
|
||||
SystickToken
|
||||
}
|
||||
};
|
||||
}};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue