diff --git a/firmware/controllers/trigger/trigger_central.cpp b/firmware/controllers/trigger/trigger_central.cpp index 989f43df03..74d74c4e8e 100644 --- a/firmware/controllers/trigger/trigger_central.cpp +++ b/firmware/controllers/trigger/trigger_central.cpp @@ -39,6 +39,12 @@ WaveChart waveChart; EXTERN_ENGINE; +/** + * true if a recent configuration change has changed any of the trigger settings which + * we have not adjusted for yet + */ +static bool isTriggerConfigChanged = false; + #if EFI_HISTOGRAMS || defined(__DOXYGEN__) static histogram_s triggerCallbackHistogram; #endif /* EFI_HISTOGRAMS */ @@ -72,8 +78,6 @@ void addTriggerEventListener(ShaftPositionListener listener, const char *name, E uint32_t triggerHanlderEntryTime; #if (EFI_PROD_CODE || EFI_SIMULATOR) || defined(__DOXYGEN__) -EXTERN_ENGINE -; int triggerReentraint = 0; int maxTriggerReentraint = 0; @@ -82,12 +86,6 @@ uint32_t triggerMaxDuration = 0; static bool isInsideTriggerHandler = false; -/** - * true if a recent configuration change has changed any of the trigger settings which - * we have not adjusted for yet - */ -static bool isTriggerConfigChanged = false; - static efitick_t previousVvtCamTime = 0; static efitick_t previousVvtCamDuration = 0;