antilag and anti-lag #2403

TurboMarian is the ALS boss
This commit is contained in:
rusefillc 2022-12-22 10:22:13 -05:00
parent f50e23671e
commit 7ca5fe5271
2 changed files with 4 additions and 6 deletions

View File

@ -572,8 +572,8 @@ bool validateConfig() {
#if EFI_ANTILAG_SYSTEM
// ALS
ensureArrayIsAscending("ALS TPS", config->alsIgnRetardLoadBins);
ensureArrayIsAscending("ALS RPM", config->alsIgnRetardrpmBins);
ensureArrayIsAscendingOrDefault("ALS TPS", config->alsIgnRetardLoadBins);
ensureArrayIsAscendingOrDefault("ALS RPM", config->alsIgnRetardrpmBins);
#endif // EFI_ANTILAG_SYSTEM
// ETB

View File

@ -4230,15 +4230,13 @@ dialog = tcuControls, "Transmission Settings"
field = "Switch Input", ALSActivatePin, {antiLagActivationMode != @@antiLagActivationMode_e_SWITCH_INPUT_ANTILAG@@ && antiLagEnabled == 1}
field = "ALS Button inverted", ALSActivateInverted, {antiLagActivationMode != @@antiLagActivationMode_e_SWITCH_INPUT_ANTILAG@@ && antiLagEnabled == 1}
field = "ALS Button mode", ALSActivatePinMode, {antiLagActivationMode != @@antiLagActivationMode_e_SWITCH_INPUT_ANTILAG@@ && antiLagEnabled == 1}
; field = "Air supply", antiLagAirAddMode
field = "Max TPS", ALSMaxTPS, {antiLagEnabled == 1}
field = "Min RPM", ALSMinRPM, {antiLagEnabled == 1}
field = "Max RPM", ALSMaxRPM, {antiLagEnabled == 1}
field = "Min CLT", ALSMinCLT, {antiLagEnabled == 1}
field = "Max CLT", ALSMaxCLT, {antiLagEnabled == 1}
field = "Air supply", ALSAirSupply
field = "Idle Air Add", ALSIdleAdd, {ALSAirSupply ==1 && antiLagEnabled == 1}
field = "ETB Air Add", ALSEtbAdd, {ALSAirSupply !=1 &&antiLagEnabled == 1}
field = "Idle Air Add", ALSIdleAdd, {useETBforIdleControl != 1 && antiLagEnabled == 1}
field = "ETB Air Add", ALSEtbAdd, {useETBforIdleControl == 1 && antiLagEnabled == 1}
field = "Spark Skip Ratio", ALSSkipRatio, {antiLagEnabled == 1}
panel = FuelAdderTableALS
panel = IgnRetardTableALS