auto-sync
This commit is contained in:
parent
819575f192
commit
51717fa792
|
@ -37,7 +37,7 @@
|
|||
#include "engine_math.h"
|
||||
#include "rpm_calculator.h"
|
||||
#include "speed_density.h"
|
||||
#if EFI_ACCEL_ENRICHMENT
|
||||
#if EFI_ACCEL_ENRICHMENT || defined(__DOXYGEN__)
|
||||
#include "accel_enrichment.h"
|
||||
#endif /* EFI_ACCEL_ENRICHMENT */
|
||||
|
||||
|
@ -134,12 +134,14 @@ floatms_t getRunningFuel(floatms_t baseFuel, int rpm DECLARE_ENGINE_PARAMETER_S)
|
|||
float iatCorrection = ENGINE(engineState.iatFuelCorrection);
|
||||
float cltCorrection = ENGINE(engineState.cltFuelCorrection);
|
||||
|
||||
#if EFI_ACCEL_ENRICHMENT
|
||||
#if EFI_ACCEL_ENRICHMENT || defined(__DOXYGEN__)
|
||||
float accelEnrichment = getAccelEnrichment();
|
||||
// todo: accelEnrichment
|
||||
#endif /* EFI_ACCEL_ENRICHMENT */
|
||||
|
||||
return baseFuel * cltCorrection * iatCorrection;
|
||||
engine->totalFuelCorrection = cltCorrection * iatCorrection;
|
||||
|
||||
return baseFuel * engine->totalFuelCorrection;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -201,7 +203,7 @@ float getBaroCorrection(DECLARE_ENGINE_PARAMETER_F) {
|
|||
}
|
||||
}
|
||||
|
||||
#if EFI_ENGINE_CONTROL
|
||||
#if EFI_ENGINE_CONTROL || defined(__DOXYGEN__)
|
||||
/**
|
||||
* @return Duration of fuel injection while craning
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue