parent
5556841520
commit
d671cee3a8
|
@ -464,6 +464,9 @@ static void setDefaultEngineConfiguration() {
|
||||||
setLinearCurve(config->scriptCurve5Bins, 0, 100, 1);
|
setLinearCurve(config->scriptCurve5Bins, 0, 100, 1);
|
||||||
setLinearCurve(config->scriptCurve6Bins, 0, 100, 1);
|
setLinearCurve(config->scriptCurve6Bins, 0, 100, 1);
|
||||||
|
|
||||||
|
setLinearCurve(config->alsIgnRetardLoadBins, 0, 10, 5);
|
||||||
|
setRpmTableBin(config->alsIgnRetardrpmBins);
|
||||||
|
|
||||||
#if EFI_ENGINE_CONTROL
|
#if EFI_ENGINE_CONTROL
|
||||||
setDefaultWarmupIdleCorrection();
|
setDefaultWarmupIdleCorrection();
|
||||||
|
|
||||||
|
|
|
@ -406,10 +406,11 @@ float getfuelALSCorrection(int rpm, float engineLoad) {
|
||||||
config->alsFuelAdjustmentrpmBins, rpm
|
config->alsFuelAdjustmentrpmBins, rpm
|
||||||
);
|
);
|
||||||
return AlsFuelAdd;
|
return AlsFuelAdd;
|
||||||
} else {
|
} else
|
||||||
|
#endif /* EFI_ANTILAG_SYSTEM */
|
||||||
|
{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
#endif /* EFI_ANTILAG_SYSTEM */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#if EFI_ENGINE_CONTROL
|
#if EFI_ENGINE_CONTROL
|
||||||
|
|
|
@ -570,6 +570,12 @@ bool validateConfig() {
|
||||||
ensureArrayIsAscending("Boost control RPM", config->boostRpmBins);
|
ensureArrayIsAscending("Boost control RPM", config->boostRpmBins);
|
||||||
#endif // EFI_BOOST_CONTROL
|
#endif // EFI_BOOST_CONTROL
|
||||||
|
|
||||||
|
#if EFI_ANTILAG_SYSTEM
|
||||||
|
// ALS
|
||||||
|
ensureArrayIsAscending("ALS TPS", config->alsIgnRetardLoadBins);
|
||||||
|
ensureArrayIsAscending("ALS RPM", config->alsIgnRetardrpmBins);
|
||||||
|
#endif // EFI_ANTILAG_SYSTEM
|
||||||
|
|
||||||
// ETB
|
// ETB
|
||||||
ensureArrayIsAscending("Pedal map pedal", config->pedalToTpsPedalBins);
|
ensureArrayIsAscending("Pedal map pedal", config->pedalToTpsPedalBins);
|
||||||
ensureArrayIsAscending("Pedal map RPM", config->pedalToTpsRpmBins);
|
ensureArrayIsAscending("Pedal map RPM", config->pedalToTpsRpmBins);
|
||||||
|
|
Loading…
Reference in New Issue