From c5eff0d26261ebedcd899ad6767f6252b08f4549 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 3 May 2020 15:21:32 -0400 Subject: [PATCH] MRE adapter --- firmware/config/engines/mazda_miata_vvt.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/firmware/config/engines/mazda_miata_vvt.cpp b/firmware/config/engines/mazda_miata_vvt.cpp index 764680497e..0bccd8402d 100644 --- a/firmware/config/engines/mazda_miata_vvt.cpp +++ b/firmware/config/engines/mazda_miata_vvt.cpp @@ -628,4 +628,13 @@ void setMiataNB2_MRE_ETB(DECLARE_CONFIG_PARAMETER_SIGNATURE) { void setMiataNB2_MRE_MTB(DECLARE_CONFIG_PARAMETER_SIGNATURE) { setMiataNB2_MRE_common(PASS_CONFIG_PARAMETER_SIGNATURE); + // somehow MRE72 adapter 0.2 has TPS routed to pin 26? + + engineConfiguration->tps1_1AdcChannel = EFI_ADC_13; + + + // 1K pull-down to read current from this MAF + engineConfiguration->mafAdcChannel = EFI_ADC_13; // J30 AV5 + + }