From 4737bb33015a00b4a96023a16ad6a9a235190428 Mon Sep 17 00:00:00 2001 From: rusefi Date: Fri, 7 Jun 2019 18:02:28 -0400 Subject: [PATCH] MRE --- firmware/controllers/algo/auto_generated_enums.cpp | 2 ++ firmware/controllers/algo/engine_configuration.cpp | 2 ++ firmware/controllers/algo/rusefi_enums.h | 2 ++ 3 files changed, 6 insertions(+) diff --git a/firmware/controllers/algo/auto_generated_enums.cpp b/firmware/controllers/algo/auto_generated_enums.cpp index 95e7ef181c..0e224e286b 100644 --- a/firmware/controllers/algo/auto_generated_enums.cpp +++ b/firmware/controllers/algo/auto_generated_enums.cpp @@ -785,6 +785,8 @@ case TEST_ISSUE_366_BOTH: return "TEST_ISSUE_366_BOTH"; case TEST_ISSUE_366_RISE: return "TEST_ISSUE_366_RISE"; +case MICRO_RUS_EFI: + return "MICRO_RUS_EFI"; case TLE8888_BENCH_ENGINE: return "TLE8888_BENCH_ENGINE"; case TOYOTA_2JZ_GTE_VVTi: diff --git a/firmware/controllers/algo/engine_configuration.cpp b/firmware/controllers/algo/engine_configuration.cpp index 95ba24976a..94febb7d9c 100644 --- a/firmware/controllers/algo/engine_configuration.cpp +++ b/firmware/controllers/algo/engine_configuration.cpp @@ -1158,6 +1158,7 @@ void resetConfigurationExt(Logging * logger, engine_type_e engineType DECLARE_EN if (engineType != MINIMAL_PINS /* this is a bit nasty */ && engineType != ETB_BENCH_ENGINE + && engineType != MICRO_RUS_EFI && engineType != TLE8888_BENCH_ENGINE) { setDefaultBoardConfiguration(PASS_ENGINE_PARAMETER_SIGNATURE); } @@ -1230,6 +1231,7 @@ void resetConfigurationExt(Logging * logger, engine_type_e engineType DECLARE_EN case ETB_BENCH_ENGINE: setEtbTestConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE); break; + case MICRO_RUS_EFI: case TLE8888_BENCH_ENGINE: setTle8888TestConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE); break; diff --git a/firmware/controllers/algo/rusefi_enums.h b/firmware/controllers/algo/rusefi_enums.h index 4ea677b408..a9c5c2583f 100644 --- a/firmware/controllers/algo/rusefi_enums.h +++ b/firmware/controllers/algo/rusefi_enums.h @@ -187,6 +187,8 @@ typedef enum { TLE8888_BENCH_ENGINE = 59, + MICRO_RUS_EFI = 60, + /** * this configuration has as few pins configured as possible */