lcd & joystick
This commit is contained in:
parent
61c17791b8
commit
1370d96112
|
@ -170,13 +170,6 @@ void setBoardDefaultConfiguration() {
|
|||
engineConfiguration->triggerSimulatorPinModes[0] = 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;
|
||||
for (int i = 0; i < DIGIPOT_COUNT ; i++) {
|
||||
engineConfiguration->digitalPotentiometerChipSelect[i] = Gpio::Unassigned;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -69,7 +69,6 @@ void setDiscoveryPdm() {
|
|||
void setFrankensoConfiguration() {
|
||||
engineConfiguration->trigger.type = TT_ONE_PLUS_ONE;
|
||||
|
||||
engineConfiguration->displayMode = DM_HD44780;
|
||||
commonFrankensoAnalogInputs();
|
||||
|
||||
/**
|
||||
|
@ -145,8 +144,6 @@ void setFrankensoConfiguration() {
|
|||
* We want to initialize all outputs for test
|
||||
*/
|
||||
engineConfiguration->specs.cylindersCount = 12;
|
||||
|
||||
engineConfiguration->displayMode = DM_NONE;
|
||||
#else /* EFI_PWM_TESTER */
|
||||
engineConfiguration->injectionPins[4] = Gpio::Unassigned;
|
||||
engineConfiguration->injectionPins[5] = Gpio::Unassigned;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -66,9 +66,6 @@ void setMitsubishiConfiguration() {
|
|||
engineConfiguration->ignitionPins[2] = Gpio::E10; // // Frankenstein: high side #2
|
||||
engineConfiguration->ignitionPins[3] = Gpio::Unassigned;
|
||||
|
||||
engineConfiguration->HD44780width = 20;
|
||||
engineConfiguration->HD44780height = 4;
|
||||
|
||||
setEgoSensor(ES_Innovate_MTX_L);
|
||||
|
||||
}
|
||||
|
|
|
@ -61,7 +61,6 @@ extern bool main_loop_started;
|
|||
#if EFI_PROD_CODE
|
||||
// todo: move this logic to algo folder!
|
||||
#include "rtc_helper.h"
|
||||
#include "HD44780.h"
|
||||
#include "rusefi.h"
|
||||
#include "pin_repository.h"
|
||||
#include "max31855.h"
|
||||
|
|
|
@ -136,14 +136,6 @@ typedef enum __attribute__ ((__packed__)) {
|
|||
|
||||
} engine_load_mode_e;
|
||||
|
||||
typedef enum __attribute__ ((__packed__)) {
|
||||
DM_NONE = 0,
|
||||
DM_HD44780 = 1,
|
||||
DM_HD44780_OVER_PCF8574 = 2,
|
||||
|
||||
|
||||
} display_mode_e;
|
||||
|
||||
typedef enum __attribute__ ((__packed__)) {
|
||||
TL_AUTO = 0,
|
||||
TL_SEMI_AUTO = 1,
|
||||
|
|
Loading…
Reference in New Issue