VVT support for VAG trigger #883
This commit is contained in:
parent
c7b73446e2
commit
ce01c1bfaa
|
@ -98,7 +98,6 @@ void Engine::initializeTriggerWaveform(Logging *logger DECLARE_ENGINE_PARAMETER_
|
||||||
*/
|
*/
|
||||||
initState.resetTriggerState();
|
initState.resetTriggerState();
|
||||||
calculateTriggerSynchPoint(&ENGINE(triggerCentral.triggerShape),
|
calculateTriggerSynchPoint(&ENGINE(triggerCentral.triggerShape),
|
||||||
&ENGINE(triggerCentral.triggerFormDetails),
|
|
||||||
&initState PASS_ENGINE_PARAMETER_SUFFIX);
|
&initState PASS_ENGINE_PARAMETER_SUFFIX);
|
||||||
|
|
||||||
if (engine->triggerCentral.triggerShape.getSize() == 0) {
|
if (engine->triggerCentral.triggerShape.getSize() == 0) {
|
||||||
|
|
|
@ -115,7 +115,6 @@ float actualSynchGap;
|
||||||
static Logging * logger = nullptr;
|
static Logging * logger = nullptr;
|
||||||
|
|
||||||
void calculateTriggerSynchPoint(TriggerWaveform *shape,
|
void calculateTriggerSynchPoint(TriggerWaveform *shape,
|
||||||
TriggerFormDetails *details,
|
|
||||||
TriggerState *state DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
TriggerState *state DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
||||||
#if EFI_PROD_CODE
|
#if EFI_PROD_CODE
|
||||||
efiAssertVoid(CUSTOM_TRIGGER_STACK, getCurrentRemainingStack() > EXPECTED_REMAINING_STACK, "calc s");
|
efiAssertVoid(CUSTOM_TRIGGER_STACK, getCurrentRemainingStack() > EXPECTED_REMAINING_STACK, "calc s");
|
||||||
|
|
|
@ -191,7 +191,6 @@ class Engine;
|
||||||
void initTriggerDecoderLogger(Logging *sharedLogger);
|
void initTriggerDecoderLogger(Logging *sharedLogger);
|
||||||
|
|
||||||
void calculateTriggerSynchPoint(TriggerWaveform *shape,
|
void calculateTriggerSynchPoint(TriggerWaveform *shape,
|
||||||
TriggerFormDetails *details,
|
|
||||||
TriggerState *state DECLARE_ENGINE_PARAMETER_SUFFIX);
|
TriggerState *state DECLARE_ENGINE_PARAMETER_SUFFIX);
|
||||||
|
|
||||||
void prepareEventAngles(TriggerWaveform *shape, TriggerFormDetails *details DECLARE_ENGINE_PARAMETER_SUFFIX);
|
void prepareEventAngles(TriggerWaveform *shape, TriggerFormDetails *details DECLARE_ENGINE_PARAMETER_SUFFIX);
|
||||||
|
|
Loading…
Reference in New Issue