From 769f7ec5585956b494008c7733e3d517c28fdf5f Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Sat, 14 May 2022 20:01:02 -0700 Subject: [PATCH] get correct stamp (#4174) --- firmware/controllers/system/timer/single_timer_executor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/controllers/system/timer/single_timer_executor.cpp b/firmware/controllers/system/timer/single_timer_executor.cpp index b76cb2560c..64bc3d6e84 100644 --- a/firmware/controllers/system/timer/single_timer_executor.cpp +++ b/firmware/controllers/system/timer/single_timer_executor.cpp @@ -67,7 +67,7 @@ void SingleTimerExecutor::scheduleByTimestampNt(const char *msg, scheduling_s* s ScopePerf perf(PE::SingleTimerExecutorScheduleByTimestamp); #if EFI_ENABLE_ASSERTS - efitick_t deltaTimeNt = nt - getTimeNowLowerNt(); + efitick_t deltaTimeNt = nt - getTimeNowNt(); if (deltaTimeNt >= TOO_FAR_INTO_FUTURE_NT) { // we are trying to set callback for too far into the future. This does not look right at all