From f7b2760550e9a1046b228e44794347e49fefb1aa Mon Sep 17 00:00:00 2001 From: rusEfi Date: Wed, 31 Jan 2018 21:30:28 -0500 Subject: [PATCH] NA8 --- firmware/controllers/algo/auto_generated_enums.cpp | 2 ++ firmware/controllers/algo/engine_configuration.cpp | 1 + firmware/controllers/algo/rusefi_enums.h | 2 ++ 3 files changed, 5 insertions(+) diff --git a/firmware/controllers/algo/auto_generated_enums.cpp b/firmware/controllers/algo/auto_generated_enums.cpp index 3a1f30d6b2..f27d2b15d5 100644 --- a/firmware/controllers/algo/auto_generated_enums.cpp +++ b/firmware/controllers/algo/auto_generated_enums.cpp @@ -87,6 +87,8 @@ case MIATA_1996: return "MIATA_1996"; case MIATA_NA_1_6: return "MIATA_NA_1_6"; +case MAZDA_MIATA_NA8: + return "MAZDA_MIATA_NA8"; case MINI_COOPER_R50: return "MINI_COOPER_R50"; case MITSU_4G93: diff --git a/firmware/controllers/algo/engine_configuration.cpp b/firmware/controllers/algo/engine_configuration.cpp index 2e235e8594..9d5d04c8ed 100644 --- a/firmware/controllers/algo/engine_configuration.cpp +++ b/firmware/controllers/algo/engine_configuration.cpp @@ -1100,6 +1100,7 @@ void resetConfigurationExt(Logging * logger, engine_type_e engineType DECLARE_EN setZil130(PASS_ENGINE_PARAMETER_SIGNATURE); break; case MIATA_NA_1_6: + case MAZDA_MIATA_NA8: setMiataNA_1_6_Configuration(PASS_ENGINE_PARAMETER_SIGNATURE); break; case TEST_CIVIC_4_0_BOTH: diff --git a/firmware/controllers/algo/rusefi_enums.h b/firmware/controllers/algo/rusefi_enums.h index af52a8c431..30ac84742c 100644 --- a/firmware/controllers/algo/rusefi_enums.h +++ b/firmware/controllers/algo/rusefi_enums.h @@ -170,6 +170,8 @@ typedef enum { MAZDA_MIATA_2003_BOARD_TEST = 55, + MAZDA_MIATA_NA8 = 56, + PROMETHEUS_DEFAULTS = 100, Force_4b_engine_type = ENUM_32_BITS,