only:mre_f4
This commit is contained in:
rusefillc 2023-04-11 11:53:40 -04:00
parent 9a2e014e58
commit d141cbeeae
5 changed files with 7 additions and 6 deletions

View File

@ -63,7 +63,7 @@
#define MRE_IN_ANALOG_VOLT_10 EFI_ADC_4
// 33
#define MRE_GPOUT_3 TLE8888_PIN_23
#define MRE_GPOUT_3 Gpio::TLE8888_PIN_23
#if HW_MICRO_RUSEFI
static Gpio MRE_OUTPUTS[] = {

View File

@ -536,7 +536,7 @@ static void mreBoardOldTest() {
// LED #2
// Gpio::TLE8888_PIN_23: "33 - GP Out 3"
engineConfiguration->injectionPins[10 - 1] = Gpio::TLE8888_PIN_23;
engineConfiguration->injectionPins[10 - 1] = MRE_GPOUT_3;
// Gpio::TLE8888_PIN_1: LED #3 - INJ#2
engineConfiguration->injectionPins[9 - 1] = Gpio::TLE8888_PIN_1;
@ -763,7 +763,7 @@ void mreBoardNewTest() {
// LED #2
// Gpio::TLE8888_PIN_23: "33 - GP Out 3"
engineConfiguration->ignitionPins[11 - 1] = Gpio::TLE8888_PIN_23;
engineConfiguration->ignitionPins[11 - 1] = MRE_GPOUT_3;
// LED #7
// Gpio::TLE8888_PIN_24: "43 - GP Out 4"

View File

@ -395,7 +395,7 @@ void setMiataNA6_MAP_MRE() {
// Gpio::TLE8888_PIN_23: "33 - GP Out 3"
engineConfiguration->malfunctionIndicatorPin = Gpio::TLE8888_PIN_23;
engineConfiguration->malfunctionIndicatorPin = MRE_GPOUT_3;
#endif /* BOARD_TLE8888_COUNT */
}

View File

@ -596,7 +596,7 @@ static void setMiataNB2_MRE_common() {
engineConfiguration->vvtPins[0] = Gpio::TLE8888_PIN_6; // VVT solenoid control
// Gpio::TLE8888_PIN_23: "33 - GP Out 3"
engineConfiguration->malfunctionIndicatorPin = Gpio::TLE8888_PIN_23;
engineConfiguration->malfunctionIndicatorPin = MRE_GPOUT_3;
// todo: alternator warn

View File

@ -13,6 +13,7 @@
#include "subaru.h"
#include "custom_engine.h"
#include "defaults.h"
#include "mre_meta.h"
void setSubaru2003Wrx() {
setFrankenso_01_LCD();
@ -53,7 +54,7 @@ void setSubaruEJ18_MRE() {
#if (BOARD_TLE8888_COUNT > 0)
// Gpio::TLE8888_PIN_23: "33 - GP Out 3"
engineConfiguration->malfunctionIndicatorPin = Gpio::TLE8888_PIN_23;
engineConfiguration->malfunctionIndicatorPin = MRE_GPOUT_3;
#endif /* BOARD_TLE8888_COUNT */
// this car has high-side main relay WOW so we have to hard wire it to ignition switch