diff --git a/firmware/config/boards/nucleo_f767/board_configuration.cpp b/firmware/config/boards/nucleo_f767/board_configuration.cpp index d1b44e145d..dbdc1176f4 100644 --- a/firmware/config/boards/nucleo_f767/board_configuration.cpp +++ b/firmware/config/boards/nucleo_f767/board_configuration.cpp @@ -37,9 +37,7 @@ void setBoardDefaultConfiguration() { engineConfiguration->digitalPotentiometerChipSelect[i] = Gpio::Unassigned; } engineConfiguration->triggerSimulatorPins[1] = Gpio::Unassigned; - engineConfiguration->triggerSimulatorPins[2] = Gpio::Unassigned; engineConfiguration->triggerSimulatorPinModes[1] = OM_DEFAULT; - engineConfiguration->triggerSimulatorPinModes[2] = OM_DEFAULT; engineConfiguration->vehicleSpeedSensorInputPin = Gpio::Unassigned; ///////////////////////////////////////////////////////// diff --git a/firmware/config/boards/prometheus/board_configuration.cpp b/firmware/config/boards/prometheus/board_configuration.cpp index 34399d7611..99ecce5922 100644 --- a/firmware/config/boards/prometheus/board_configuration.cpp +++ b/firmware/config/boards/prometheus/board_configuration.cpp @@ -181,9 +181,7 @@ void setBoardDefaultConfiguration() { engineConfiguration->digitalPotentiometerChipSelect[i] = Gpio::Unassigned; } engineConfiguration->triggerSimulatorPins[1] = Gpio::Unassigned; - engineConfiguration->triggerSimulatorPins[2] = Gpio::Unassigned; engineConfiguration->triggerSimulatorPinModes[1] = OM_DEFAULT; - engineConfiguration->triggerSimulatorPinModes[2] = OM_DEFAULT; engineConfiguration->vehicleSpeedSensorInputPin = Gpio::Unassigned; ///////////////////////////////////////////////////////// diff --git a/firmware/config/boards/subaru_eg33/board_configuration.cpp b/firmware/config/boards/subaru_eg33/board_configuration.cpp index 09d08aed3a..b70f9fe704 100644 --- a/firmware/config/boards/subaru_eg33/board_configuration.cpp +++ b/firmware/config/boards/subaru_eg33/board_configuration.cpp @@ -233,10 +233,8 @@ void setBoardDefaultConfiguration() { /* not used pins with testpads */ engineConfiguration->triggerSimulatorPins[0] = Gpio::H2; engineConfiguration->triggerSimulatorPins[1] = Gpio::H3; - engineConfiguration->triggerSimulatorPins[2] = Gpio::H4; engineConfiguration->triggerSimulatorPinModes[0] = OM_DEFAULT; engineConfiguration->triggerSimulatorPinModes[1] = OM_DEFAULT; - engineConfiguration->triggerSimulatorPinModes[2] = OM_DEFAULT; if (engineConfiguration->fuelAlgorithm == LM_REAL_MAF) setAlgorithm(LM_SPEED_DENSITY); diff --git a/firmware/config/engines/custom_engine.cpp b/firmware/config/engines/custom_engine.cpp index b6d0cca96c..a96f71f270 100644 --- a/firmware/config/engines/custom_engine.cpp +++ b/firmware/config/engines/custom_engine.cpp @@ -862,7 +862,6 @@ void setTest33816EngineConfiguration() { engineConfiguration->triggerSimulatorPins[0] = Gpio::Unassigned; engineConfiguration->triggerSimulatorPins[1] = Gpio::Unassigned; - engineConfiguration->triggerSimulatorPins[2] = Gpio::Unassigned; engineConfiguration->injectionPins[0] = Gpio::B9; // #1 engineConfiguration->injectionPins[1] = Gpio::E2; // #2 diff --git a/firmware/config/engines/subaru.cpp b/firmware/config/engines/subaru.cpp index f28a4256fc..4e878c35e1 100644 --- a/firmware/config/engines/subaru.cpp +++ b/firmware/config/engines/subaru.cpp @@ -30,7 +30,6 @@ void setSubaru2003Wrx() { engineConfiguration->triggerSimulatorPins[0] = Gpio::Unassigned; // we want to avoid PD1 conflict engineConfiguration->triggerSimulatorPins[1] = Gpio::Unassigned; - engineConfiguration->triggerSimulatorPins[2] = Gpio::Unassigned; } /** diff --git a/firmware/config/engines/test_engine.cpp b/firmware/config/engines/test_engine.cpp index 7625b773ab..d164f0c98c 100644 --- a/firmware/config/engines/test_engine.cpp +++ b/firmware/config/engines/test_engine.cpp @@ -109,7 +109,6 @@ void setProteusAnalogPwmTest() { // Disable trigger stim engineConfiguration->triggerSimulatorPins[0] = Gpio::Unassigned; engineConfiguration->triggerSimulatorPins[1] = Gpio::Unassigned; - engineConfiguration->triggerSimulatorPins[2] = Gpio::Unassigned; // The idle control pin is connected to the default TPS input, analog volt 2 engineConfiguration->idle.solenoidPin = Gpio::G4; diff --git a/firmware/controllers/trigger/trigger_central.cpp b/firmware/controllers/trigger/trigger_central.cpp index d8155cf872..bd264a8f79 100644 --- a/firmware/controllers/trigger/trigger_central.cpp +++ b/firmware/controllers/trigger/trigger_central.cpp @@ -877,10 +877,6 @@ void triggerInfo(void) { } } - -// efiPrintf("3rd trigger simulator: %s %s", hwPortname(engineConfiguration->triggerSimulatorPins[2]), -// getPin_output_mode_e(engineConfiguration->triggerSimulatorPinModes[2])); - efiPrintf("trigger error extra LED: %s %s", hwPortname(engineConfiguration->triggerErrorPin), getPin_output_mode_e(engineConfiguration->triggerErrorPinMode)); efiPrintf("primary logic input: %s", hwPortname(engineConfiguration->logicAnalyzerPins[0]));