Disable WallCorr (xtau) for cranking (#555)

This commit is contained in:
andreika-git 2018-01-26 14:14:31 +02:00 committed by rusefi
parent b4f89fbe26
commit f8d1b86ca7
1 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,10 @@ floatms_t WallFuel::adjust(int injectorIndex, floatms_t target DECLARE_ENGINE_PA
if (cisnan(target)) {
return target;
}
// disable this correction for cranking
if (ENGINE(rpmCalculator).isCranking(PASS_ENGINE_PARAMETER_SIGNATURE)) {
return target;
}
float addedToWallCoef = CONFIG(addedToWallCoef);
/**