sporadic HighRevTest testV12 #3806

is this bug here?
This commit is contained in:
rusefillc 2022-01-25 10:28:35 -05:00
parent e5427b8e65
commit aef0995871
1 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,7 @@ public:
}
bool engineMovedRecently(efitick_t nowNt) const {
/*
constexpr float oneRevolutionLimitInSeconds = 60.0 / RPM_LOW_THRESHOLD;
auto maxAverageToothTime = oneRevolutionLimitInSeconds / triggerShape.getSize();
@ -86,6 +87,8 @@ public:
maxAllowedGap = clampF(0.1f, maxAllowedGap, oneRevolutionLimitInSeconds);
return getSecondsSinceTriggerEvent(nowNt) < maxAverageToothTime;
*/
return getSecondsSinceTriggerEvent(nowNt) < 1;
}
bool engineMovedRecently() const {