From 7439adf432e10abb561603b4037c8fac4c162d80 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Fri, 28 Apr 2023 23:34:08 -0400 Subject: [PATCH] LCD & joystick support removed --- firmware/config/boards/prometheus/board_configuration.cpp | 1 - firmware/config/boards/subaru_eg33/board_configuration.cpp | 7 ------- firmware/config/engines/custom_engine.cpp | 2 -- firmware/config/engines/ford_aspire.cpp | 3 --- firmware/controllers/algo/engine_configuration.cpp | 3 --- 5 files changed, 16 deletions(-) diff --git a/firmware/config/boards/prometheus/board_configuration.cpp b/firmware/config/boards/prometheus/board_configuration.cpp index 0651099d4d..0ba2639a7d 100644 --- a/firmware/config/boards/prometheus/board_configuration.cpp +++ b/firmware/config/boards/prometheus/board_configuration.cpp @@ -168,7 +168,6 @@ void setBoardDefaultConfiguration() { engineConfiguration->triggerSimulatorPinModes[0] = OM_DEFAULT; // not used - engineConfiguration->displayMode = DM_NONE; engineConfiguration->triggerSimulatorPins[1] = Gpio::Unassigned; engineConfiguration->triggerSimulatorPinModes[1] = 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 06a70d0f4c..60292e09df 100644 --- a/firmware/config/boards/subaru_eg33/board_configuration.cpp +++ b/firmware/config/boards/subaru_eg33/board_configuration.cpp @@ -142,13 +142,6 @@ void setBoardDefaultConfiguration() { engineConfiguration->malfunctionIndicatorPinMode = OM_DEFAULT; /* not used */ - engineConfiguration->displayMode = DM_NONE; - engineConfiguration->HD44780_rs = Gpio::Unassigned; - engineConfiguration->HD44780_e = Gpio::Unassigned; - engineConfiguration->HD44780_db4 = Gpio::Unassigned; - engineConfiguration->HD44780_db5 = Gpio::Unassigned; - engineConfiguration->HD44780_db6 = Gpio::Unassigned; - engineConfiguration->HD44780_db7 = Gpio::Unassigned; engineConfiguration->digitalPotentiometerChipSelect[0] = Gpio::Unassigned; engineConfiguration->digitalPotentiometerChipSelect[1] = Gpio::Unassigned; engineConfiguration->digitalPotentiometerChipSelect[2] = Gpio::Unassigned; diff --git a/firmware/config/engines/custom_engine.cpp b/firmware/config/engines/custom_engine.cpp index dac460bbfe..b94b766fc9 100644 --- a/firmware/config/engines/custom_engine.cpp +++ b/firmware/config/engines/custom_engine.cpp @@ -69,7 +69,6 @@ void setDiscoveryPdm() { void setFrankensoConfiguration() { engineConfiguration->trigger.type = TT_ONE_PLUS_ONE; - engineConfiguration->displayMode = DM_HD44780; commonFrankensoAnalogInputs(); /** @@ -146,7 +145,6 @@ void setFrankensoConfiguration() { */ engineConfiguration->cylindersCount = 12; - engineConfiguration->displayMode = DM_NONE; #else /* EFI_PWM_TESTER */ engineConfiguration->injectionPins[4] = Gpio::Unassigned; engineConfiguration->injectionPins[5] = Gpio::Unassigned; diff --git a/firmware/config/engines/ford_aspire.cpp b/firmware/config/engines/ford_aspire.cpp index b482af7e50..0072d8362e 100644 --- a/firmware/config/engines/ford_aspire.cpp +++ b/firmware/config/engines/ford_aspire.cpp @@ -80,9 +80,6 @@ void setFordAspireEngineConfiguration() { engineConfiguration->injectionPins[4] = Gpio::Unassigned; engineConfiguration->injectionPins[5] = Gpio::Unassigned; - engineConfiguration->HD44780width = 20; - engineConfiguration->HD44780height = 4; - // Frankenstein analog input #1: adc1 // Frankenstein analog input #2: adc3 // Frankenstein analog input #3: adc13 diff --git a/firmware/controllers/algo/engine_configuration.cpp b/firmware/controllers/algo/engine_configuration.cpp index cec561635b..e502ee8e54 100644 --- a/firmware/controllers/algo/engine_configuration.cpp +++ b/firmware/controllers/algo/engine_configuration.cpp @@ -584,9 +584,6 @@ static void setDefaultEngineConfiguration() { // todo: start using this for custom MAP engineConfiguration->mapHighValueVoltage = 5; - engineConfiguration->HD44780width = 20; - engineConfiguration->HD44780height = 4; - engineConfiguration->cylinderBore = 87.5; setBoschHDEV_5_injectors();