at the moment efiWatchdog always fails on enable, would this fix?

This commit is contained in:
rusefillc 2022-09-11 21:27:20 -04:00
parent f359b304fb
commit 5c8d44eec7
1 changed files with 1 additions and 1 deletions

View File

@ -452,9 +452,9 @@ void Engine::efiWatchdog() {
}
static efitimems_t mostRecentMs = 0;
efitimems_t msNow = getTimeNowMs();
if (engineConfiguration->tempBooleanForVerySpecialLogic && engine->configBurnTimer.hasElapsedSec(5)) {
efitimems_t msNow = getTimeNowMs();
if (mostRecentMs != 0) {
efitimems_t gapInMs = msNow - mostRecentMs;
if (gapInMs > 500) {