From ce01c1bfaa0578298a744e0ebcfd88fe6afcdcba Mon Sep 17 00:00:00 2001 From: rusefi Date: Tue, 25 Aug 2020 13:14:46 -0400 Subject: [PATCH] VVT support for VAG trigger #883 --- firmware/controllers/algo/engine.cpp | 1 - firmware/controllers/trigger/trigger_decoder.cpp | 1 - firmware/controllers/trigger/trigger_decoder.h | 1 - 3 files changed, 3 deletions(-) diff --git a/firmware/controllers/algo/engine.cpp b/firmware/controllers/algo/engine.cpp index c8589d8f53..f96dd6c00e 100644 --- a/firmware/controllers/algo/engine.cpp +++ b/firmware/controllers/algo/engine.cpp @@ -98,7 +98,6 @@ void Engine::initializeTriggerWaveform(Logging *logger DECLARE_ENGINE_PARAMETER_ */ initState.resetTriggerState(); calculateTriggerSynchPoint(&ENGINE(triggerCentral.triggerShape), - &ENGINE(triggerCentral.triggerFormDetails), &initState PASS_ENGINE_PARAMETER_SUFFIX); if (engine->triggerCentral.triggerShape.getSize() == 0) { diff --git a/firmware/controllers/trigger/trigger_decoder.cpp b/firmware/controllers/trigger/trigger_decoder.cpp index c243c7402b..1763e997e4 100644 --- a/firmware/controllers/trigger/trigger_decoder.cpp +++ b/firmware/controllers/trigger/trigger_decoder.cpp @@ -115,7 +115,6 @@ float actualSynchGap; static Logging * logger = nullptr; void calculateTriggerSynchPoint(TriggerWaveform *shape, - TriggerFormDetails *details, TriggerState *state DECLARE_ENGINE_PARAMETER_SUFFIX) { #if EFI_PROD_CODE efiAssertVoid(CUSTOM_TRIGGER_STACK, getCurrentRemainingStack() > EXPECTED_REMAINING_STACK, "calc s"); diff --git a/firmware/controllers/trigger/trigger_decoder.h b/firmware/controllers/trigger/trigger_decoder.h index 9cc134de49..8421d045fc 100644 --- a/firmware/controllers/trigger/trigger_decoder.h +++ b/firmware/controllers/trigger/trigger_decoder.h @@ -191,7 +191,6 @@ class Engine; void initTriggerDecoderLogger(Logging *sharedLogger); void calculateTriggerSynchPoint(TriggerWaveform *shape, - TriggerFormDetails *details, TriggerState *state DECLARE_ENGINE_PARAMETER_SUFFIX); void prepareEventAngles(TriggerWaveform *shape, TriggerFormDetails *details DECLARE_ENGINE_PARAMETER_SUFFIX);