diff --git a/firmware/controllers/trigger/trigger_decoder.cpp b/firmware/controllers/trigger/trigger_decoder.cpp index b9c404ac28..001fe3ac58 100644 --- a/firmware/controllers/trigger/trigger_decoder.cpp +++ b/firmware/controllers/trigger/trigger_decoder.cpp @@ -529,14 +529,12 @@ void TriggerState::decodeTriggerEvent(trigger_event_e const signal, efitime_t no */ bool silentTriggerError = triggerShape->getSize() > 40 && CONFIG(silentTriggerError); +#if EFI_UNIT_TEST + actualSynchGap = 1.0 * toothDurations[0] / toothDurations[1]; +#endif /* EFI_UNIT_TEST */ + #if EFI_PROD_CODE if (CONFIG(verboseTriggerSynchDetails) || (someSortOfTriggerError && !silentTriggerError)) { -#else - if (printTriggerDebug) { -#endif /* EFI_PROD_CODE */ - -#if EFI_PROD_CODE - for (int i = 0;i