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