refactoring
This commit is contained in:
parent
2228ce4323
commit
ad0e394f76
|
@ -81,7 +81,7 @@ static msg_t auxPidThread(int param) {
|
|||
float value = engine->triggerCentral.vvtPosition; // getVBatt(PASS_ENGINE_PARAMETER_SIGNATURE); // that's temporary
|
||||
float targetValue = fsioTable1.getValue(rpm, getEngineLoadT(PASS_ENGINE_PARAMETER_SIGNATURE));
|
||||
|
||||
float pwm = auxPid.getValue(targetValue, value);
|
||||
percent_t pwm = auxPid.getValue(targetValue, value);
|
||||
if (engineConfiguration->isVerboseAuxPid1) {
|
||||
scheduleMsg(logger, "aux duty: %f/value=%f/p=%f/i=%f/d=%f int=%f", pwm, value,
|
||||
auxPid.getP(), auxPid.getI(), auxPid.getD(), auxPid.getIntegration());
|
||||
|
|
|
@ -31,7 +31,7 @@ static Pid altPid(altPidS);
|
|||
|
||||
static THD_WORKING_AREA(alternatorControlThreadStack, UTILITY_THREAD_STACK_SIZE);
|
||||
|
||||
static float currentAltDuty;
|
||||
static percent_t currentAltDuty;
|
||||
|
||||
#if ! EFI_UNIT_TEST || defined(__DOXYGEN__)
|
||||
extern TunerStudioOutputChannels tsOutputChannels;
|
||||
|
|
Loading…
Reference in New Issue