refactoring

This commit is contained in:
rusEfi 2017-09-21 21:14:50 -04:00
parent 2228ce4323
commit ad0e394f76
2 changed files with 2 additions and 2 deletions

View File

@ -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());

View File

@ -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;