diff --git a/drivers/timers/arch_alarm.c b/drivers/timers/arch_alarm.c index 85565c2a33e..efdb63f3f0d 100644 --- a/drivers/timers/arch_alarm.c +++ b/drivers/timers/arch_alarm.c @@ -319,7 +319,7 @@ int weak_function up_alarm_tick_start(clock_t ticks) if (g_oneshot_lower != NULL) { - clock_t now = 0; + clock_t now; clock_t delta; ONESHOT_TICK_CURRENT(g_oneshot_lower, &now);