From 674465b84ec806ef1df56040016c1dfbae6f0622 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Fri, 10 Apr 2015 16:09:22 -0500 Subject: [PATCH] auto-sync --- firmware/controllers/trigger/main_trigger_callback.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firmware/controllers/trigger/main_trigger_callback.cpp b/firmware/controllers/trigger/main_trigger_callback.cpp index 291ee66c91..ff06643b44 100644 --- a/firmware/controllers/trigger/main_trigger_callback.cpp +++ b/firmware/controllers/trigger/main_trigger_callback.cpp @@ -161,6 +161,10 @@ static ALWAYS_INLINE void handleFuel(uint32_t eventIndex, int rpm DECLARE_ENGINE if (!fs->hasEvents[eventIndex]) return; +// todo: Maxim try this? +// engine->accelEnrichment.onEngineCycle(PASS_ENGINE_PARAMETER_F); +// ENGINE(fuelMs) = getFuelMs(rpm PASS_ENGINE_PARAMETER) * engineConfiguration->globalFuelCorrection; + for (int i = 0; i < source->size; i++) { InjectionEvent *event = &source->elements[i]; if (event->position.eventIndex != eventIndex)