cj125 less verbose when running
This commit is contained in:
parent
d6db0d1013
commit
de519474ef
|
@ -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.
|
* 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));
|
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);
|
instance->SetHeater(duty PASS_ENGINE_PARAMETER_SUFFIX);
|
||||||
|
if (engineConfiguration->isCJ125Verbose) {
|
||||||
|
globalInstance.heaterPid.showPidStatus(logger, "cj heater");
|
||||||
cjPrintData();
|
cjPrintData();
|
||||||
|
}
|
||||||
instance->prevNt = nowNt;
|
instance->prevNt = nowNt;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue