dead config
This commit is contained in:
parent
9ce04c1a54
commit
157125eea1
|
@ -165,11 +165,9 @@ void setBoardDefaultConfiguration() {
|
|||
|
||||
// debug pad
|
||||
engineConfiguration->triggerSimulatorPins[0] = Gpio::D8;
|
||||
engineConfiguration->triggerSimulatorPinModes[0] = OM_DEFAULT;
|
||||
|
||||
// not used
|
||||
engineConfiguration->triggerSimulatorPins[1] = Gpio::Unassigned;
|
||||
engineConfiguration->triggerSimulatorPinModes[1] = OM_DEFAULT;
|
||||
engineConfiguration->vehicleSpeedSensorInputPin = Gpio::Unassigned;
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
|
|
|
@ -191,8 +191,6 @@ void setBoardDefaultConfiguration() {
|
|||
/* not used pins with testpads */
|
||||
engineConfiguration->triggerSimulatorPins[0] = Gpio::H2;
|
||||
engineConfiguration->triggerSimulatorPins[1] = Gpio::H3;
|
||||
engineConfiguration->triggerSimulatorPinModes[0] = OM_DEFAULT;
|
||||
engineConfiguration->triggerSimulatorPinModes[1] = OM_DEFAULT;
|
||||
|
||||
if (engineConfiguration->fuelAlgorithm == LM_REAL_MAF)
|
||||
setAlgorithm(LM_SPEED_DENSITY);
|
||||
|
|
|
@ -143,9 +143,6 @@ void setFordEscortGt() {
|
|||
setSingleCoilDwell();
|
||||
engineConfiguration->ignitionMode = IM_ONE_COIL;
|
||||
|
||||
engineConfiguration->triggerSimulatorPinModes[0] = OM_OPENDRAIN;
|
||||
engineConfiguration->triggerSimulatorPinModes[1] = OM_OPENDRAIN;
|
||||
|
||||
// individual coils
|
||||
// W6 PC9
|
||||
// W8 PC7
|
||||
|
|
|
@ -98,9 +98,6 @@ static void commonMiataNa() {
|
|||
|
||||
engineConfiguration->cranking.baseFuel = 24;
|
||||
|
||||
engineConfiguration->triggerSimulatorPinModes[0] = OM_OPENDRAIN;
|
||||
engineConfiguration->triggerSimulatorPinModes[1] = OM_OPENDRAIN;
|
||||
|
||||
setCommonNTCSensor(&engineConfiguration->clt, 2700);
|
||||
setCommonNTCSensor(&engineConfiguration->iat, 2700);
|
||||
}
|
||||
|
|
|
@ -748,17 +748,15 @@ void triggerInfo(void) {
|
|||
#if EFI_PROD_CODE
|
||||
|
||||
efiPrintf("primary trigger input: %s", hwPortname(engineConfiguration->triggerInputPins[0]));
|
||||
efiPrintf("primary trigger simulator: %s %s freq=%d",
|
||||
hwPortname(engineConfiguration->triggerSimulatorPins[0]),
|
||||
getPin_output_mode_e(engineConfiguration->triggerSimulatorPinModes[0]),
|
||||
efiPrintf("primary trigger simulator: %s freq=%d",
|
||||
hwPortname(engineConfiguration->triggerSimulatorPins[0])),
|
||||
engineConfiguration->triggerSimulatorRpm);
|
||||
|
||||
if (ts->needSecondTriggerInput) {
|
||||
efiPrintf("secondary trigger input: %s", hwPortname(engineConfiguration->triggerInputPins[1]));
|
||||
#if EFI_EMULATE_POSITION_SENSORS
|
||||
efiPrintf("secondary trigger simulator: %s %s phase=%d",
|
||||
hwPortname(engineConfiguration->triggerSimulatorPins[1]),
|
||||
getPin_output_mode_e(engineConfiguration->triggerSimulatorPinModes[1]), triggerSignal.safe.phaseIndex);
|
||||
efiPrintf("secondary trigger simulator: %s phase=%d",
|
||||
hwPortname(engineConfiguration->triggerSimulatorPins[1]), triggerSignal.safe.phaseIndex);
|
||||
#endif /* EFI_EMULATE_POSITION_SENSORS */
|
||||
}
|
||||
|
||||
|
|
|
@ -210,8 +210,7 @@ void startTriggerEmulatorPins() {
|
|||
|
||||
#if EFI_PROD_CODE
|
||||
if (isConfigurationChanged(triggerSimulatorPins[i])) {
|
||||
triggerSignal.outputPins[i]->initPin("Trigger emulator", pin,
|
||||
engineConfiguration->triggerSimulatorPinModes[i]);
|
||||
triggerSignal.outputPins[i]->initPin("Trigger emulator", pin);
|
||||
}
|
||||
#endif // EFI_PROD_CODE
|
||||
}
|
||||
|
|
|
@ -674,11 +674,11 @@ pin_input_mode_e throttlePedalUpPinMode;
|
|||
|
||||
float compressionRatio;Just for reference really, not taken into account by any logic at this point;"CR", 1, 0, 0, 300, 1
|
||||
|
||||
Gpio[TRIGGER_SIMULATOR_PIN_COUNT iterate] triggerSimulatorPins;Each rusEFI piece can provide synthetic trigger signal for external ECU. Sometimes these wires are routed back into trigger inputs of the same rusEFI board.
|
||||
Gpio[TRIGGER_SIMULATOR_PIN_COUNT iterate] triggerSimulatorPins;Generate a synthetic trigger signal for an external ECU
|
||||
|
||||
uint16_t autoscale fordInjectorSmallPulseSlope;;"g/s", 0.001, 0, 0, 65, 3
|
||||
|
||||
pin_output_mode_e[TRIGGER_SIMULATOR_PIN_COUNT iterate] triggerSimulatorPinModes;
|
||||
uint8_t[2] unused638
|
||||
|
||||
bit is_enabled_spi_1
|
||||
bit is_enabled_spi_2
|
||||
|
|
|
@ -4070,9 +4070,7 @@ dialog = tcuControls, "Transmission Settings"
|
|||
commandButton = "Disable trigger simulation", cmd_disable_self_stim
|
||||
field = ""@@if_ts_show_hardware_simulator
|
||||
field = "trigger stimulator output #1", triggerSimulatorPins1@@if_ts_show_hardware_simulator
|
||||
field = "trigger stimulator output mode #1", triggerSimulatorPinModes1@@if_ts_show_hardware_simulator
|
||||
field = "trigger stimulator output #2", triggerSimulatorPins2@@if_ts_show_hardware_simulator
|
||||
field = "trigger stimulator output mode #2", triggerSimulatorPinModes2@@if_ts_show_hardware_simulator
|
||||
field = ""
|
||||
field = "Logic input channel 1", logicAnalyzerPins1
|
||||
field = "Logic input channel 2", logicAnalyzerPins2
|
||||
|
|
Loading…
Reference in New Issue