Changed the way AC idle RPM bump is handled
This commit is contained in:
parent
50c5d67b2d
commit
0b852e4a81
|
@ -32,7 +32,7 @@ int IdleController::getTargetRpm(float clt) {
|
|||
// alternator duty cycle has a similar logic
|
||||
targetRpmAcBump = engine->module<AcController>().unmock().acButtonState ? engineConfiguration->acIdleRpmBump : 0;
|
||||
|
||||
auto target = targetRpmByClt + targetRpmAcBump;
|
||||
auto target = (targetRpmByClt < targetRpmAcBump) ? targetRpmAcBump : targetRpmByClt;
|
||||
idleTarget = target;
|
||||
return target;
|
||||
}
|
||||
|
|
|
@ -1060,7 +1060,7 @@ bit tempBooleanForVerySpecialLogic
|
|||
float turboSpeedSensorMultiplier;;"mult", 1, 0, 0, 7000, 3
|
||||
|
||||
Gpio[CAM_INPUTS_COUNT iterate] camInputsDebug;
|
||||
int16_t acIdleRpmBump;Extra idle target speed when A/C is enabled. Some cars need the extra speed to keep the AC efficient while idling.;"RPM", 1, 0, 0, 1000, 0
|
||||
int16_t acIdleRpmBump;Idle target speed when A/C is enabled. Some cars need the extra speed to keep the AC efficient while idling.;"RPM", 1, 0, 0, 2000, 0
|
||||
|
||||
int16_t warningPeriod;set warningPeriod X;"seconds", 1, 0, 0, 60, 0
|
||||
|
||||
|
|
|
@ -3504,7 +3504,7 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_
|
|||
field = "Max CLT", maxAcClt
|
||||
field = "Max TPS", maxAcTps
|
||||
field = "A/C Idle adder", acIdleExtraOffset
|
||||
field = "A/C RPM adder", acIdleRpmBump
|
||||
field = "A/C Idle RPM", acIdleRpmBump
|
||||
|
||||
dialog = acSettings, "", border
|
||||
panel = acSettingsWest, West
|
||||
|
|
Loading…
Reference in New Issue