From 30acb6b85d1195a37a7b9d86dbf441e6474fc2de Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 18 Mar 2017 20:39:42 -0400 Subject: [PATCH] removing dead code --- firmware/controllers/trigger/trigger_decoder.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/firmware/controllers/trigger/trigger_decoder.cpp b/firmware/controllers/trigger/trigger_decoder.cpp index 787aa4c2e2..4ef7e98229 100644 --- a/firmware/controllers/trigger/trigger_decoder.cpp +++ b/firmware/controllers/trigger/trigger_decoder.cpp @@ -174,13 +174,13 @@ void TriggerState::decodeTriggerEvent(trigger_event_e const signal, efitime_t no */ nextTriggerEvent() ; - if (TRIGGER_SHAPE(gapBothDirections) && considerEventForGap()) { - isFirstEvent = false; - thirdPreviousDuration = durationBeforePrevious; - durationBeforePrevious = toothed_previous_duration; - toothed_previous_duration = currentDuration; - toothed_previous_time = nowNt; - } +// if (TRIGGER_SHAPE(gapBothDirections) && considerEventForGap()) { +// isFirstEvent = false; +// thirdPreviousDuration = durationBeforePrevious; +// durationBeforePrevious = toothed_previous_duration; +// toothed_previous_duration = currentDuration; +// toothed_previous_time = nowNt; +// } } else { #if EFI_UNIT_TEST || defined(__DOXYGEN__)