This commit is contained in:
parent
cd08b71b37
commit
f545dc24da
|
@ -74,13 +74,19 @@ bool AntilagSystemBase::isAntilagConditionMet(int rpm) {
|
|||
ALSMaxCLTCondition = isALSMaxCLTCondition();
|
||||
ALSMaxThrottleIntentCondition = isALSMaxThrottleIntentCondition();
|
||||
ALSSwitchCondition = isInsideALSSwitchCondition();
|
||||
ALSTimerCondition = true;
|
||||
/*
|
||||
todo: looking for a hero to figure out unit test part of this
|
||||
ALSTimerCondition = isInsideALSTimerCondition();
|
||||
*/
|
||||
|
||||
return ALSMinRPMCondition &&
|
||||
ALSMaxRPMCondition &&
|
||||
ALSMinCLTCondition &&
|
||||
ALSMaxCLTCondition &&
|
||||
ALSMaxThrottleIntentCondition &&
|
||||
ALSSwitchCondition;
|
||||
ALSSwitchCondition &&
|
||||
ALSTimerCondition;
|
||||
}
|
||||
|
||||
void AntilagSystemBase::update() {
|
||||
|
|
|
@ -13,4 +13,5 @@ bit ALSTimerCondition
|
|||
|
||||
float fuelALSCorrection
|
||||
int16_t autoscale timingALSCorrection;;"deg",{1/@@PACK_MULT_PERCENT@@}, 0, -20, 20, 2
|
||||
int16_t autoscale timingALSSkip;;"deg",{1/@@PACK_MULT_PERCENT@@}, 0, 0, 50, 2
|
||||
end_struct
|
Loading…
Reference in New Issue