only: dead commands

This commit is contained in:
rusefillc 2023-10-27 11:35:15 -04:00
parent 9d271b42d4
commit c98963a991
5 changed files with 0 additions and 89 deletions

View File

@ -878,42 +878,6 @@ static void etbReset() {
}
#endif /* EFI_PROD_CODE */
/**
* set etb_p X
*/
void setEtbPFactor(float value) {
engineConfiguration->etb.pFactor = value;
etbPidReset();
showEtbInfo();
}
/**
* set etb_i X
*/
void setEtbIFactor(float value) {
engineConfiguration->etb.iFactor = value;
etbPidReset();
showEtbInfo();
}
/**
* set etb_d X
*/
void setEtbDFactor(float value) {
engineConfiguration->etb.dFactor = value;
etbPidReset();
showEtbInfo();
}
/**
* set etb_o X
*/
void setEtbOffset(int value) {
engineConfiguration->etb.offset = value;
etbPidReset();
showEtbInfo();
}
void etbAutocal(size_t throttleIndex) {
if (throttleIndex >= ETB_COUNT) {
return;

View File

@ -28,10 +28,6 @@ void setBoschVAGETB();
void setDefaultEtbBiasCurve();
void setDefaultEtbParameters();
void setBoschVNH2SP30Curve();
void setEtbPFactor(float value);
void setEtbIFactor(float value);
void setEtbDFactor(float value);
void setEtbOffset(int value);
void setThrottleDutyCycle(percent_t level);
void onConfigurationChangeElectronicThrottleCallback(engine_configuration_s *previousConfiguration);
void unregisterEtbPins();

View File

@ -113,9 +113,6 @@ void setManualIdleValvePosition(int positionPercent);
void startIdleThread();
void setDefaultIdleParameters();
void startIdleBench(void);
void setIdlePFactor(float value);
void setIdleIFactor(float value);
void setIdleDFactor(float value);
void setIdleMode(idle_mode_e value);
void setTargetIdleRpm(int value);
void startPedalPins();

View File

@ -94,24 +94,6 @@ void setTargetIdleRpm(int value) {
efiPrintf("target idle RPM %d", value);
}
void setIdlePFactor(float value) {
engineConfiguration->idleRpmPid.pFactor = value;
applyPidSettings();
showIdleInfo();
}
void setIdleIFactor(float value) {
engineConfiguration->idleRpmPid.iFactor = value;
applyPidSettings();
showIdleInfo();
}
void setIdleDFactor(float value) {
engineConfiguration->idleRpmPid.dFactor = value;
applyPidSettings();
showIdleInfo();
}
/**
* Idle test would activate the solenoid for three seconds
*/

View File

@ -745,27 +745,6 @@ const command_f_s commandsF[] = {
#endif // EFI_ENGINE_CONTROL
{"script_curve_1_value", setScriptCurve1Value},
{"script_curve_2_value", setScriptCurve2Value},
#if EFI_PROD_CODE
#if EFI_IDLE_CONTROL
{"idle_p", setIdlePFactor},
{"idle_i", setIdleIFactor},
{"idle_d", setIdleDFactor},
#endif // EFI_IDLE_CONTROL
#endif // EFI_PROD_CODE
#if EFI_ELECTRONIC_THROTTLE_BODY
{"etb_p", setEtbPFactor},
{"etb_i", setEtbIFactor},
{"etb_d", setEtbDFactor},
{"etb", setThrottleDutyCycle},
#endif // EFI_ELECTRONIC_THROTTLE_BODY
// {"", },
// {"", },
// {"", },
// {"", },
// {"", },
// {"", },
};
static void setTpsErrorDetectionTooLow(int v) {
@ -817,13 +796,6 @@ const command_i_s commandsI[] = {{"ignition_mode", setIgnitionMode},
#endif // EFI_IDLE_CONTROL
#endif // EFI_PROD_CODE
#if EFI_ELECTRONIC_THROTTLE_BODY
{"etb_o", setEtbOffset},
#endif // EFI_ELECTRONIC_THROTTLE_BODY
// {"", },
// {"", },
// {"", },
// {"", },
// {"", },
};