get correct stamp (#4174)

This commit is contained in:
Matthew Kennedy 2022-05-14 20:01:02 -07:00 committed by GitHub
parent 500c443a15
commit 769f7ec558
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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