From 97a310a5025ef3143522990f328630650c311937 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Sun, 3 Dec 2017 15:23:39 -0500 Subject: [PATCH] fixing unit tests --- firmware/config/engines/custom_engine.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/firmware/config/engines/custom_engine.cpp b/firmware/config/engines/custom_engine.cpp index 4b45b0f264..18b25815cb 100644 --- a/firmware/config/engines/custom_engine.cpp +++ b/firmware/config/engines/custom_engine.cpp @@ -16,11 +16,11 @@ #include "honda_accord.h" #include "allsensors.h" #include "engine_math.h" -#include "trigger_emulator.h" -#if EFI_PROD_CODE +#if EFI_PROD_CODE || defined(__DOXYGEN__) +#include "trigger_emulator.h" #include "can_hw.h" -#endif +#endif /* EFI_PROD_CODE */ EXTERN_ENGINE; @@ -154,7 +154,9 @@ void setFrankensoBoardTestConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) { engineConfiguration->directSelfStimulation = true; // this engine type is used for board validation +#if EFI_EMULATE_POSITION_SENSORS || defined(__DOXYGEN__) setTriggerEmulatorRPM(300); // lower RPM for slower blinking +#endif /* EFI_EMULATE_POSITION_SENSORS */ engineConfiguration->specs.cylindersCount = 12; engineConfiguration->specs.firingOrder = FO_1_7_5_11_3_9_6_12_2_8_4_10;