auto-sync
This commit is contained in:
parent
8fbd2ab101
commit
bed7027559
|
@ -37,9 +37,6 @@
|
||||||
#include "engine_math.h"
|
#include "engine_math.h"
|
||||||
#include "rpm_calculator.h"
|
#include "rpm_calculator.h"
|
||||||
#include "speed_density.h"
|
#include "speed_density.h"
|
||||||
#if EFI_ACCEL_ENRICHMENT || defined(__DOXYGEN__)
|
|
||||||
#include "accel_enrichment.h"
|
|
||||||
#endif /* EFI_ACCEL_ENRICHMENT */
|
|
||||||
|
|
||||||
EXTERN_ENGINE
|
EXTERN_ENGINE
|
||||||
;
|
;
|
||||||
|
@ -135,11 +132,6 @@ floatms_t getRunningFuel(floatms_t baseFuel, int rpm DECLARE_ENGINE_PARAMETER_S)
|
||||||
float iatCorrection = ENGINE(engineState.iatFuelCorrection);
|
float iatCorrection = ENGINE(engineState.iatFuelCorrection);
|
||||||
float cltCorrection = ENGINE(engineState.cltFuelCorrection);
|
float cltCorrection = ENGINE(engineState.cltFuelCorrection);
|
||||||
|
|
||||||
#if EFI_ACCEL_ENRICHMENT || defined(__DOXYGEN__)
|
|
||||||
float accelEnrichment = getAccelEnrichment();
|
|
||||||
// todo: accelEnrichment
|
|
||||||
#endif /* EFI_ACCEL_ENRICHMENT */
|
|
||||||
|
|
||||||
engine->totalFuelCorrection = cltCorrection * iatCorrection;
|
engine->totalFuelCorrection = cltCorrection * iatCorrection;
|
||||||
|
|
||||||
return baseFuel * engine->totalFuelCorrection;
|
return baseFuel * engine->totalFuelCorrection;
|
||||||
|
|
Loading…
Reference in New Issue