there is no third trigger simulator channel right?

This commit is contained in:
rusefillc 2022-10-03 00:17:46 -04:00
parent ae07e1b345
commit 57c804c6f5
7 changed files with 0 additions and 13 deletions

View File

@ -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;
/////////////////////////////////////////////////////////

View File

@ -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;
/////////////////////////////////////////////////////////

View File

@ -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);

View File

@ -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

View File

@ -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;
}
/**

View File

@ -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;

View File

@ -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]));