RPM correction/multiplier for Accel Enrich #4760
This commit is contained in:
parent
de6df95f72
commit
7b3423a7b5
|
@ -230,6 +230,10 @@ void setDefaultFuel() {
|
||||||
// Tables
|
// Tables
|
||||||
setFuelTablesLoadBin(10, 160);
|
setFuelTablesLoadBin(10, 160);
|
||||||
setRpmTableBin(config->injPhaseRpmBins, FUEL_RPM_COUNT);
|
setRpmTableBin(config->injPhaseRpmBins, FUEL_RPM_COUNT);
|
||||||
|
|
||||||
|
setRpmTableBin(engineConfiguration->tpsTspCorrValuesBins, TPS_TPS_ACCEL_CLT_CORR_TABLE);
|
||||||
|
setLinearCurve(engineConfiguration->tpsTspCorrValuesBins, 1, 1);
|
||||||
|
|
||||||
setDefaultVETable();
|
setDefaultVETable();
|
||||||
setDefaultLambdaTable();
|
setDefaultLambdaTable();
|
||||||
|
|
||||||
|
|
|
@ -493,6 +493,8 @@ bool validateConfig() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ensureArrayIsAscending("Batt Lag", engineConfiguration->injector.battLagCorrBins);
|
||||||
|
|
||||||
// Fueling
|
// Fueling
|
||||||
{
|
{
|
||||||
ensureArrayIsAscending("VE load", config->veLoadBins);
|
ensureArrayIsAscending("VE load", config->veLoadBins);
|
||||||
|
@ -509,6 +511,8 @@ bool validateConfig() {
|
||||||
|
|
||||||
ensureArrayIsAscending("TPS/TPS AE from", config->tpsTpsAccelFromRpmBins);
|
ensureArrayIsAscending("TPS/TPS AE from", config->tpsTpsAccelFromRpmBins);
|
||||||
ensureArrayIsAscending("TPS/TPS AE to", config->tpsTpsAccelToRpmBins);
|
ensureArrayIsAscending("TPS/TPS AE to", config->tpsTpsAccelToRpmBins);
|
||||||
|
|
||||||
|
ensureArrayIsAscendingOrDefault("TPS TPS RPM correction", engineConfiguration->tpsTspCorrValuesBins);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ignition
|
// Ignition
|
||||||
|
|
Loading…
Reference in New Issue