From 64fdfba43590eebcf0cfbf1c4562d0ef38057683 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Thu, 10 Dec 2020 21:45:25 -0500 Subject: [PATCH] dead code --- firmware/controllers/trigger/decoders/trigger_chrysler.cpp | 3 --- firmware/controllers/trigger/decoders/trigger_honda.cpp | 2 -- firmware/controllers/trigger/decoders/trigger_misc.cpp | 5 ----- firmware/controllers/trigger/decoders/trigger_nissan.cpp | 1 - 4 files changed, 11 deletions(-) diff --git a/firmware/controllers/trigger/decoders/trigger_chrysler.cpp b/firmware/controllers/trigger/decoders/trigger_chrysler.cpp index fa873fecea..98613487c0 100644 --- a/firmware/controllers/trigger/decoders/trigger_chrysler.cpp +++ b/firmware/controllers/trigger/decoders/trigger_chrysler.cpp @@ -324,8 +324,6 @@ gap=1.43/0.71 void configureDodgeStratusTriggerWaveform(TriggerWaveform *s) { s->initialize(FOUR_STROKE_CAM_SENSOR); - s->isSynchronizationNeeded = true; - s->tdcPosition = 150; float w = 7; @@ -581,7 +579,6 @@ void configureChryslerNGC_36_2_2(TriggerWaveform *s) { float wide = 30 * 2; float narrow = 10 * 2; - s->isSynchronizationNeeded = true; s->setTriggerSynchronizationGap(3.5); for (int i = 1; i < 15; i++) { s->setTriggerSynchronizationGap3(/*gapIndex*/i, TRIGGER_GAP_DEVIATION_LOW, TRIGGER_GAP_DEVIATION_HIGH); diff --git a/firmware/controllers/trigger/decoders/trigger_honda.cpp b/firmware/controllers/trigger/decoders/trigger_honda.cpp index 27074645ad..f15acc45cf 100644 --- a/firmware/controllers/trigger/decoders/trigger_honda.cpp +++ b/firmware/controllers/trigger/decoders/trigger_honda.cpp @@ -169,8 +169,6 @@ void configureHonda_1_4_24(TriggerWaveform *s, bool withOneEventSignal, bool wit void configureHondaCbr600(TriggerWaveform *s) { s->initialize(FOUR_STROKE_CAM_SENSOR); s->useOnlyPrimaryForSync = true; - s->isSynchronizationNeeded = true; - s->setTriggerSynchronizationGap(6); diff --git a/firmware/controllers/trigger/decoders/trigger_misc.cpp b/firmware/controllers/trigger/decoders/trigger_misc.cpp index 16e01007d9..8212d8e5bc 100644 --- a/firmware/controllers/trigger/decoders/trigger_misc.cpp +++ b/firmware/controllers/trigger/decoders/trigger_misc.cpp @@ -11,9 +11,6 @@ void configureFiatIAQ_P8(TriggerWaveform * s) { s->initialize(FOUR_STROKE_CAM_SENSOR); - s->isSynchronizationNeeded = true; - - int width = 60; s->tdcPosition = width; @@ -51,8 +48,6 @@ void configureFordST170(TriggerWaveform * s) { void configureDaihatsu4(TriggerWaveform * s) { s->initialize(FOUR_STROKE_CAM_SENSOR); - s->isSynchronizationNeeded = true; - int width = 10; s->setTriggerSynchronizationGap(0.125); diff --git a/firmware/controllers/trigger/decoders/trigger_nissan.cpp b/firmware/controllers/trigger/decoders/trigger_nissan.cpp index e41a7e2f15..edea639de4 100644 --- a/firmware/controllers/trigger/decoders/trigger_nissan.cpp +++ b/firmware/controllers/trigger/decoders/trigger_nissan.cpp @@ -15,7 +15,6 @@ */ static void initializeNissanSR20VE_4_optional_360(TriggerWaveform *s, bool with2nd) { s->initialize(FOUR_STROKE_CAM_SENSOR); - s->isSynchronizationNeeded = true; s->gapBothDirections = true; s->useOnlyPrimaryForSync = true;