diff --git a/firmware/config/engines/mazda_miata_1_6.cpp b/firmware/config/engines/mazda_miata_1_6.cpp index a7e57e40d5..de650f5264 100644 --- a/firmware/config/engines/mazda_miata_1_6.cpp +++ b/firmware/config/engines/mazda_miata_1_6.cpp @@ -288,6 +288,9 @@ void setMiataNA6_VAF_Frankenso(DECLARE_CONFIG_PARAMETER_SIGNATURE) { // todo: MAF-based ignition table? } +/** + * set engine_type 12 + */ void setMiataNA6_VAF_MRE(DECLARE_CONFIG_PARAMETER_SIGNATURE) { boardConfiguration->isHip9011Enabled = false; @@ -296,5 +299,4 @@ void setMiataNA6_VAF_MRE(DECLARE_CONFIG_PARAMETER_SIGNATURE) { miataNAcommonEngineSettings(PASS_CONFIG_PARAMETER_SIGNATURE); engineConfiguration->fuelAlgorithm = LM_PLAIN_MAF; - } diff --git a/firmware/controllers/algo/engine_configuration.cpp b/firmware/controllers/algo/engine_configuration.cpp index 31f7ea7ff2..8e6154d040 100644 --- a/firmware/controllers/algo/engine_configuration.cpp +++ b/firmware/controllers/algo/engine_configuration.cpp @@ -1051,6 +1051,8 @@ void resetConfigurationExt(Logging * logger, engine_type_e engineType DECLARE_EN setFrankensoConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE); break; case MRE_MIATA_NA6: + setMiataNA6_VAF_MRE(PASS_CONFIG_PARAMETER_SIGNATURE); + break; case ACURA_RSX: case MINI_COOPER_R50: case MINIMAL_PINS: