From ce8d3768125085b7874fabdfa5340e2300f0e06d Mon Sep 17 00:00:00 2001 From: rusefi Date: Mon, 2 Sep 2019 12:34:17 -0400 Subject: [PATCH] MRE NB2 --- firmware/config/engines/mazda_miata_vvt.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/firmware/config/engines/mazda_miata_vvt.cpp b/firmware/config/engines/mazda_miata_vvt.cpp index 1d54891247..8e138a750f 100644 --- a/firmware/config/engines/mazda_miata_vvt.cpp +++ b/firmware/config/engines/mazda_miata_vvt.cpp @@ -510,6 +510,11 @@ void setMazdaMiata2003EngineConfigurationBoardTest(DECLARE_CONFIG_PARAMETER_SIGN void setMiataNB2_MRE(DECLARE_CONFIG_PARAMETER_SIGNATURE) { // MRE has a special main relay control low side pin - rusEfi firmware is totally not involved with main relay control // fuelPumpPin is inherited from boards/microrusefi/board_configuration.cpp + // crank trigger input is inherited from boards/microrusefi/board_configuration.cpp + + engineConfiguration->camInputs[0] = GPIOA_5; + engineConfiguration->useOnlyRisingEdgeForTrigger = false; + engineConfiguration->etb.pFactor = 12; // a bit lower p-factor seems to work better on TLE9201? MRE? engineConfiguration->etb.iFactor = 0;