bixing build

This commit is contained in:
rusEfi 2017-12-31 20:13:04 -05:00
parent 513202a0af
commit d9fee11d73
2 changed files with 3 additions and 3 deletions

View File

@ -162,7 +162,7 @@ void FuelConsumptionState::addData(float durationMs) {
} }
} }
void FuelConsumptionState::update(efitick_t nowNt) { void FuelConsumptionState::update(efitick_t nowNt DECLARE_ENGINE_PARAMETER_SUFFIX) {
efitick_t deltaNt = nowNt - accumulatedSecondPrevNt; efitick_t deltaNt = nowNt - accumulatedSecondPrevNt;
if (deltaNt >= US2NT(US_PER_SECOND_LL)) { if (deltaNt >= US2NT(US_PER_SECOND_LL)) {
perSecondConsumption = getFuelRate(perSecondAccumulator, deltaNt PASS_ENGINE_PARAMETER_SUFFIX); perSecondConsumption = getFuelRate(perSecondAccumulator, deltaNt PASS_ENGINE_PARAMETER_SUFFIX);
@ -253,7 +253,7 @@ void EngineState::periodicFastCallback(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
} }
// update fuel consumption states // update fuel consumption states
fuelConsumption.update(nowNt); fuelConsumption.update(nowNt PASS_ENGINE_PARAMETER_SUFFIX);
// post-cranking fuel enrichment. // post-cranking fuel enrichment.
// for compatibility reasons, apply only if the factor is greater than zero (0.01 margin used) // for compatibility reasons, apply only if the factor is greater than zero (0.01 margin used)

View File

@ -110,7 +110,7 @@ class FuelConsumptionState {
public: public:
FuelConsumptionState(); FuelConsumptionState();
void addData(float durationMs); void addData(float durationMs);
void update(efitick_t nowNt); void update(efitick_t nowNt DECLARE_ENGINE_PARAMETER_SUFFIX);
float perSecondConsumption; float perSecondConsumption;
float perMinuteConsumption; float perMinuteConsumption;
float perSecondAccumulator; float perSecondAccumulator;