docs
This commit is contained in:
parent
8fa9855171
commit
a6fe81d07f
|
@ -339,6 +339,10 @@ void Engine::periodicFastCallback(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
|
||||
engine->m.beforeFuelCalc = GET_TIMESTAMP();
|
||||
int rpm = GET_RPM();
|
||||
/**
|
||||
* we have same assignment of 'getInjectionDuration' to 'injectionDuration' in handleFuel()
|
||||
* Open question why do we refresh that in two places?
|
||||
*/
|
||||
ENGINE(injectionDuration) = getInjectionDuration(rpm PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
engine->m.fuelCalcTime = GET_TIMESTAMP() - engine->m.beforeFuelCalc;
|
||||
|
||||
|
|
|
@ -393,6 +393,10 @@ static ALWAYS_INLINE void handleFuel(const bool limitedFuel, uint32_t trgEventIn
|
|||
ENGINE(tpsAccelEnrichment.onNewValue(getTPS(PASS_ENGINE_PARAMETER_SIGNATURE) PASS_ENGINE_PARAMETER_SUFFIX));
|
||||
ENGINE(engineLoadAccelEnrichment.onEngineCycle(PASS_ENGINE_PARAMETER_SIGNATURE));
|
||||
|
||||
/**
|
||||
* we have same assignment of 'getInjectionDuration' to 'injectionDuration' in periodicFastCallback()
|
||||
* Open question why do we refresh that in two places?
|
||||
*/
|
||||
ENGINE(injectionDuration) = getInjectionDuration(rpm PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
|
||||
for (int injEventIndex = 0; injEventIndex < CONFIG(specs.cylindersCount); injEventIndex++) {
|
||||
|
|
Loading…
Reference in New Issue