From 2940a46b8e103af7892d80dc97520f6e4856ed82 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Tue, 29 Nov 2016 19:02:50 -0500 Subject: [PATCH] auto-sync --- firmware/controllers/trigger/main_trigger_callback.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/controllers/trigger/main_trigger_callback.cpp b/firmware/controllers/trigger/main_trigger_callback.cpp index 6af121143f..4577f094fb 100644 --- a/firmware/controllers/trigger/main_trigger_callback.cpp +++ b/firmware/controllers/trigger/main_trigger_callback.cpp @@ -516,6 +516,7 @@ void mainTriggerCallback(trigger_event_e ckpSignalType, uint32_t trgEventIndex D engine->fuelScheduleForThisEngineCycle->usedAtEngineCycle = ENGINE(rpmCalculator).getRevolutionCounter(); if (triggerVersion.isOld()) { + engine->ignitionList()->isReady = false; // we need to rebuild ignition schedule // todo: move 'triggerIndexByAngle' change into trigger initialization, why is it invoked from here if it's only about trigger shape & optimization? prepareOutputSignals(PASS_ENGINE_PARAMETER_F); // we need this to apply new 'triggerIndexByAngle' values