From a55b56cbae456041db2000f12970605bbc269579 Mon Sep 17 00:00:00 2001 From: rusefi Date: Fri, 19 May 2017 22:30:21 -0400 Subject: [PATCH] fixing build --- firmware/controllers/trigger/trigger_central.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/controllers/trigger/trigger_central.cpp b/firmware/controllers/trigger/trigger_central.cpp index 468213fb2e..01a9608372 100644 --- a/firmware/controllers/trigger/trigger_central.cpp +++ b/firmware/controllers/trigger/trigger_central.cpp @@ -398,7 +398,9 @@ extern int vvtEventRiseCounter; extern int vvtEventFallCounter; void resetMaxValues() { +#if (EFI_PROD_CODE || EFI_SIMULATOR) || defined(__DOXYGEN__) maxEventQueueTime = triggerMaxDuration = 0; +#endif /* EFI_PROD_CODE || EFI_SIMULATOR */ } void triggerInfo(void) {