TPS AE engages during crank fix #3996 (#3997)

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
This commit is contained in:
rusefillc 2022-03-19 13:05:44 -04:00 committed by GitHub
parent e35bf1edaf
commit 3bfe7f1725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ floatms_t TpsAccelEnrichment::getTpsEnrichment() {
// If disabled, return 0.
return 0;
}
if (!engine->rpmCalculator.isRunning()) {
return 0;
}
if (isAboveAccelThreshold) {
valueFromTable = tpsTpsMap.getValue(tpsFrom, tpsTo);