Als timer smaller (#5041)
* Update default_base_engine.cpp (cherry picked from commit 8ac64e2a16f18b7497c3fa1993a4d3e31a161332) * als timer meta --------- Co-authored-by: TurboMarian <podgajnymariusz@gmail.com> Co-authored-by: rusefillc <sdfsdfqsf2334234234>
This commit is contained in:
parent
4b50c26620
commit
2a7db23708
|
@ -9,6 +9,7 @@ bit ALSMaxThrottleIntentCondition
|
||||||
bit isALSSwitchActivated
|
bit isALSSwitchActivated
|
||||||
bit ALSActivatePinState
|
bit ALSActivatePinState
|
||||||
bit ALSSwitchCondition
|
bit ALSSwitchCondition
|
||||||
|
bit ALSTimerCondition
|
||||||
|
|
||||||
float fuelALSCorrection
|
float fuelALSCorrection
|
||||||
int16_t autoscale timingALSCorrection;;"deg",{1/@@PACK_MULT_PERCENT@@}, 0, -20, 20, 2
|
int16_t autoscale timingALSCorrection;;"deg",{1/@@PACK_MULT_PERCENT@@}, 0, -20, 20, 2
|
||||||
|
|
|
@ -44,7 +44,7 @@ void setDefaultBaseEngine() {
|
||||||
|
|
||||||
engineConfiguration->ALSMinRPM = 400;
|
engineConfiguration->ALSMinRPM = 400;
|
||||||
engineConfiguration->ALSMaxRPM = 3200;
|
engineConfiguration->ALSMaxRPM = 3200;
|
||||||
engineConfiguration->alsMaxDuration = 3.5;
|
engineConfiguration->ALSMaxDuration = 3.5;
|
||||||
engineConfiguration->ALSMaxCLT = 105;
|
engineConfiguration->ALSMaxCLT = 105;
|
||||||
// engineConfiguration->alsMinPps = 10;
|
// engineConfiguration->alsMinPps = 10;
|
||||||
engineConfiguration->alsMinTimeBetween = 5;
|
engineConfiguration->alsMinTimeBetween = 5;
|
||||||
|
|
|
@ -1546,7 +1546,7 @@ Gpio[LUA_DIGITAL_INPUT_COUNT iterate] luaDigitalInputPins;
|
||||||
uint8_t[TPS_TPS_ACCEL_CLT_CORR_TABLE] autoscale tpsTspCorrValuesBins;;"RPM", 50, 0, 0, 17500, 0
|
uint8_t[TPS_TPS_ACCEL_CLT_CORR_TABLE] autoscale tpsTspCorrValuesBins;;"RPM", 50, 0, 0, 17500, 0
|
||||||
int16_t ALSMinRPM;;"rpm", 1, 0, 0, 20000, 0
|
int16_t ALSMinRPM;;"rpm", 1, 0, 0, 20000, 0
|
||||||
int16_t ALSMaxRPM;;"rpm", 1, 0, 0, 20000, 0
|
int16_t ALSMaxRPM;;"rpm", 1, 0, 0, 20000, 0
|
||||||
float alsMaxDuration;;"sec", 1, 0, 0.01, 100, 2
|
int16_t ALSMaxDuration;;"sec", 1, 0, 0, 10, 0
|
||||||
int8_t ALSMinCLT;;"C", 1, 0, 0, 90, 0
|
int8_t ALSMinCLT;;"C", 1, 0, 0, 90, 0
|
||||||
int8_t ALSMaxCLT;;"C", 1, 0, 0, 105, 0
|
int8_t ALSMaxCLT;;"C", 1, 0, 0, 105, 0
|
||||||
uint8_t alsMinTimeBetween;;"", 1, 0, 0, 20000, 0
|
uint8_t alsMinTimeBetween;;"", 1, 0, 0, 20000, 0
|
||||||
|
|
|
@ -4242,6 +4242,7 @@ dialog = tcuControls, "Transmission Settings"
|
||||||
field = "Switch Input", ALSActivatePin, {antiLagActivationMode != @@antiLagActivationMode_e_SWITCH_INPUT_ANTILAG@@ && antiLagEnabled == 1}
|
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 inverted", ALSActivateInverted, {antiLagActivationMode != @@antiLagActivationMode_e_SWITCH_INPUT_ANTILAG@@ && antiLagEnabled == 1}
|
||||||
field = "ALS Button mode", ALSActivatePinMode, {antiLagActivationMode != @@antiLagActivationMode_e_SWITCH_INPUT_ANTILAG@@ && antiLagEnabled == 1}
|
field = "ALS Button mode", ALSActivatePinMode, {antiLagActivationMode != @@antiLagActivationMode_e_SWITCH_INPUT_ANTILAG@@ && antiLagEnabled == 1}
|
||||||
|
field = "ALS timeout", ALSMaxDuration, {antiLagEnabled == 1}
|
||||||
field = "Max TPS", ALSMaxTPS, {antiLagEnabled == 1}
|
field = "Max TPS", ALSMaxTPS, {antiLagEnabled == 1}
|
||||||
field = "Min RPM", ALSMinRPM, {antiLagEnabled == 1}
|
field = "Min RPM", ALSMinRPM, {antiLagEnabled == 1}
|
||||||
field = "Max RPM", ALSMaxRPM, {antiLagEnabled == 1}
|
field = "Max RPM", ALSMaxRPM, {antiLagEnabled == 1}
|
||||||
|
|
Loading…
Reference in New Issue