commands are dead

This commit is contained in:
Andrey 2024-06-10 19:21:23 -04:00
parent 8054d49adf
commit 91b28cb002
3 changed files with 1 additions and 36 deletions

View File

@ -196,35 +196,12 @@ TpsAccelEnrichment::TpsAccelEnrichment() {
#if ! EFI_UNIT_TEST
static void accelInfo() {
// efiPrintf("TPS accel length=%d", tpsInstance.cb.getSize());
efiPrintf("TPS accel th=%.2f/mult=%.2f", engineConfiguration->tpsAccelEnrichmentThreshold, -1);
efiPrintf("beta=%.2f/tau=%.2f", engineConfiguration->wwaeBeta, engineConfiguration->wwaeTau);
}
void setTpsAccelThr(float value) {
engineConfiguration->tpsAccelEnrichmentThreshold = value;
accelInfo();
}
void setTpsDecelThr(float value) {
engineConfiguration->tpsDecelEnleanmentThreshold = value;
accelInfo();
}
void setTpsDecelMult(float value) {
engineConfiguration->tpsDecelEnleanmentMultiplier = value;
accelInfo();
}
void setTpsAccelLen(int length) {
static void setTpsAccelLen(int length) {
if (length < 1) {
efiPrintf("setTpsAccelLen: Length should be positive [%d]", length);
return;
}
engine->tpsAccelEnrichment.setLength(length);
accelInfo();
}
void updateAccelParameters() {
@ -239,9 +216,6 @@ void initAccelEnrichment() {
tpsTpsMap.initTable(config->tpsTpsAccelTable, config->tpsTpsAccelToRpmBins, config->tpsTpsAccelFromRpmBins);
#if ! EFI_UNIT_TEST
addConsoleAction("accelinfo", accelInfo);
updateAccelParameters();
#endif /* ! EFI_UNIT_TEST */
}

View File

@ -39,9 +39,4 @@ public:
void initAccelEnrichment();
void setTpsAccelThr(float value);
void setTpsDecelThr(float value);
void setTpsDecelMult(float value);
void setTpsAccelLen(int length);
void updateAccelParameters();

View File

@ -709,9 +709,6 @@ const command_f_s commandsF[] = {
{"cranking_fuel", setCrankingFuel},
{"cranking_iac", setCrankingIACExtra},
{"cranking_timing_angle", setCrankingTimingAngle},
{"tps_accel_threshold", setTpsAccelThr},
{"tps_decel_threshold", setTpsDecelThr},
{"tps_decel_multiplier", setTpsDecelMult},
{"flat_injector_lag", setFlatInjectorLag},
#endif // EFI_ENGINE_CONTROL
{"script_curve_1_value", setScriptCurve1Value},
@ -737,7 +734,6 @@ const command_i_s commandsI[] = {
{"debug_mode", setDebugMode},
{"trigger_type", setTriggerType},
{"idle_solenoid_freq", setIdleSolenoidFrequency},
{"tps_accel_len", setTpsAccelLen},
#endif // EFI_ENGINE_CONTROL
#if EFI_PROD_CODE
#if EFI_BOR_LEVEL