Fix for system_monotonic macro with 1 argument (#978)

This commit is contained in:
Robin Mueller 2024-09-18 15:15:17 +02:00 committed by GitHub
parent d81c3758d5
commit 056616c772
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -144,7 +144,7 @@ impl TimerQueueBackend for SystickBackend {
#[macro_export]
macro_rules! systick_monotonic {
($name:ident) => {
$crate::systick_monotonic($name, 1_000);
$crate::systick_monotonic!($name, 1_000);
};
($name:ident, $tick_rate_hz:expr) => {
/// A `Monotonic` based on SysTick.