mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
Fix for system_monotonic macro with 1 argument (#978)
This commit is contained in:
parent
d81c3758d5
commit
056616c772
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ impl TimerQueueBackend for SystickBackend {
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! systick_monotonic {
|
macro_rules! systick_monotonic {
|
||||||
($name:ident) => {
|
($name:ident) => {
|
||||||
$crate::systick_monotonic($name, 1_000);
|
$crate::systick_monotonic!($name, 1_000);
|
||||||
};
|
};
|
||||||
($name:ident, $tick_rate_hz:expr) => {
|
($name:ident, $tick_rate_hz:expr) => {
|
||||||
/// A `Monotonic` based on SysTick.
|
/// A `Monotonic` based on SysTick.
|
||||||
|
|
Loading…
Reference in a new issue