cj125 less verbose when running

This commit is contained in:
rusefi 2020-05-01 19:27:26 -04:00
parent c33d611dd4
commit b262b5da66
1 changed files with 4 additions and 2 deletions

View File

@ -487,9 +487,11 @@ static bool cj125periodic(CJ125 *instance DECLARE_ENGINE_PARAMETER_SUFFIX) {
* So the simple trick is to inverse the error by swapping the target and input values.
*/
float duty = globalInstance.heaterPid.getOutput(globalInstance.vUr, globalInstance.vUrCal, MS2SEC(CJ125_TICK_DELAY));
globalInstance.heaterPid.showPidStatus(logger, "cj");
instance->SetHeater(duty PASS_ENGINE_PARAMETER_SUFFIX);
cjPrintData();
if (engineConfiguration->isCJ125Verbose) {
globalInstance.heaterPid.showPidStatus(logger, "cj heater");
cjPrintData();
}
instance->prevNt = nowNt;
}
break;