ALS UPDATE (ETB is working)
(cherry picked from commit decbf6d1615f1c15cc3e278932667a390d2539c9)
This commit is contained in:
parent
dd6b3de294
commit
64026b3d90
|
@ -320,6 +320,12 @@ expected<percent_t> EtbController::getSetpointEtb() {
|
|||
|
||||
percent_t targetPosition = idlePosition + getLuaAdjustment();
|
||||
|
||||
#if EFI_ANTILAG_SYSTEM
|
||||
if (engine->antilagController.isAntilagCondition) {
|
||||
targetPosition += engineConfiguration->ALSEtbAdd;
|
||||
}
|
||||
#endif /* EFI_ANTILAG_SYSTEM */
|
||||
|
||||
// Apply any adjustment that this throttle alone needs
|
||||
// Clamped to +-10 to prevent anything too wild
|
||||
trim = clampF(-10, getThrottleTrim(rpm, targetPosition), 10);
|
||||
|
|
Loading…
Reference in New Issue