diff --git a/firmware/config/engines/mazda_miata_vvt.cpp b/firmware/config/engines/mazda_miata_vvt.cpp index 1d6b7f3faa..0593704001 100644 --- a/firmware/config/engines/mazda_miata_vvt.cpp +++ b/firmware/config/engines/mazda_miata_vvt.cpp @@ -596,6 +596,7 @@ static void setMiataNB2_MRE_common(DECLARE_CONFIG_PARAMETER_SIGNATURE) { engineConfiguration->alternatorControlPin = GPIOD_6; // GPIOD_7: "14 - GP Out 5" - selected to +12v engineConfiguration->tachOutputPin = GPIOD_7; // tachometer + CONFIG(tachPulsePerRev) = 2; // set cranking_fuel 9 engineConfiguration->cranking.baseFuel = 9; // higher value for return system NA conversion since lower fuel pressure diff --git a/firmware/controllers/algo/engine_configuration.cpp b/firmware/controllers/algo/engine_configuration.cpp index 4578b8af32..931963ef3b 100644 --- a/firmware/controllers/algo/engine_configuration.cpp +++ b/firmware/controllers/algo/engine_configuration.cpp @@ -743,6 +743,7 @@ static void setDefaultEngineConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) { setDefaultBoostParameters(PASS_CONFIG_PARAMETER_SIGNATURE); #endif + CONFIG(tachPulsePerRev) = 1; // OBD-II default rate is 500kbps CONFIG(canBaudRate) = B500KBPS;