mirror of https://github.com/rusefi/rusefi.git
only: wow hello 2013 fudging
This commit is contained in:
parent
928f6f2866
commit
2ef1a3c6c4
|
@ -68,7 +68,6 @@ void setFordEscortGt() {
|
||||||
|
|
||||||
engineConfiguration->trigger.type = trigger_type_e::TT_MAZDA_DOHC_1_4;
|
engineConfiguration->trigger.type = trigger_type_e::TT_MAZDA_DOHC_1_4;
|
||||||
|
|
||||||
engineConfiguration->globalFuelCorrection = 0.75;
|
|
||||||
engineConfiguration->displacement = 1.839;
|
engineConfiguration->displacement = 1.839;
|
||||||
setAlgorithm(LM_SPEED_DENSITY);
|
setAlgorithm(LM_SPEED_DENSITY);
|
||||||
|
|
||||||
|
|
|
@ -584,7 +584,6 @@ static void setDefaultEngineConfiguration() {
|
||||||
|
|
||||||
setEgoSensor(ES_14Point7_Free);
|
setEgoSensor(ES_14Point7_Free);
|
||||||
|
|
||||||
engineConfiguration->globalFuelCorrection = 1;
|
|
||||||
engineConfiguration->adcVcc = 3.0;
|
engineConfiguration->adcVcc = 3.0;
|
||||||
|
|
||||||
engineConfiguration->map.sensor.type = MT_MPX4250;
|
engineConfiguration->map.sensor.type = MT_MPX4250;
|
||||||
|
|
|
@ -195,8 +195,6 @@ static float getBaseFuelMass(int rpm) {
|
||||||
|
|
||||||
float baseFuelMass = engine->fuelComputer.getCycleFuel(airmass.CylinderAirmass, rpm, airmass.EngineLoadPercent);
|
float baseFuelMass = engine->fuelComputer.getCycleFuel(airmass.CylinderAirmass, rpm, airmass.EngineLoadPercent);
|
||||||
|
|
||||||
// Fudge it by the global correction factor
|
|
||||||
baseFuelMass *= engineConfiguration->globalFuelCorrection;
|
|
||||||
engine->engineState.baseFuel = baseFuelMass;
|
engine->engineState.baseFuel = baseFuelMass;
|
||||||
|
|
||||||
if (cisnan(baseFuelMass)) {
|
if (cisnan(baseFuelMass)) {
|
||||||
|
|
|
@ -587,7 +587,7 @@ custom spi_device_e 1 bits, U08, @OFFSET@, [0:2], "Off", "SPI1", "SPI2", "SPI3",
|
||||||
|
|
||||||
uint8_t acrRevolutions;;"", 1, 0, 0, 100, 0
|
uint8_t acrRevolutions;;"", 1, 0, 0, 100, 0
|
||||||
|
|
||||||
float globalFuelCorrection;;"coef", 1, 0, 0, 1000, 2
|
float unused4bytesHere
|
||||||
|
|
||||||
float adcVcc;;"volts", 1, 0, 0, 6, 3
|
float adcVcc;;"volts", 1, 0, 0, 6, 3
|
||||||
float mapCamDetectionAnglePosition;;"Deg", 1, 0, 0, 360, 0
|
float mapCamDetectionAnglePosition;;"Deg", 1, 0, 0, 360, 0
|
||||||
|
|
Loading…
Reference in New Issue