ETB: TPS should be f(RPM, pedal) - target table fix #835

oooooops
This commit is contained in:
rusefi 2019-06-16 09:08:01 -04:00
parent 72a710ffd5
commit 1e3758c6d3
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ private:
percent_t pedalPosition = getPedalPosition(PASS_ENGINE_PARAMETER_SIGNATURE);
int rpm = GET_RPM();
float targetFromTable = pedal2tpsMap.getValue(0/*rpm / RPM_1_BYTE_PACKING_MULT*/, 0/*pedalPosition*/);
float targetFromTable = pedal2tpsMap.getValue(rpm / RPM_1_BYTE_PACKING_MULT, pedalPosition);
percent_t targetPosition = targetFromTable + engine->engineState.etbIdleAddition;
if (engineConfiguration->debugMode == DBG_ETB_LOGIC) {