From 5048cdd3800c5f31163c8017920b9cbe419c8c7a Mon Sep 17 00:00:00 2001 From: rusEfi Date: Fri, 27 Mar 2015 06:05:49 -0500 Subject: [PATCH] auto-sync --- firmware/controllers/algo/accel_enrichment.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/controllers/algo/accel_enrichment.cpp b/firmware/controllers/algo/accel_enrichment.cpp index 5ba0b800ed..6ea9d3d829 100644 --- a/firmware/controllers/algo/accel_enrichment.cpp +++ b/firmware/controllers/algo/accel_enrichment.cpp @@ -23,6 +23,7 @@ EXTERN_ENGINE static AccelEnrichmemnt instance; +#if ! EFI_UNIT_TEST || defined(__DOXYGEN__) static void setAccelThr(float value) { engineConfiguration->accelEnrichmentThreshold = value; } @@ -45,6 +46,7 @@ void initAccelEnrichment(void) { addConsoleActionF("set_decel_th", setDecelThr); addConsoleActionF("set_decel_mult", setDecelMult); } +#endif /* ! EFI_UNIT_TEST */ void AccelEnrichmemnt::updateDiffEnrichment(engine_configuration_s *engineConfiguration, float engineLoad) { // for (int i = 3; i == 1; i--)