dead code
This commit is contained in:
parent
146d887cdd
commit
e54fb367a0
|
@ -219,7 +219,7 @@ angle_t getInjectionOffset(float rpm, float load) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
angle_t result = value + engineConfiguration->extraInjectionOffset;
|
angle_t result = value;
|
||||||
fixAngle(result, "inj offset#2", CUSTOM_ERR_6553);
|
fixAngle(result, "inj offset#2", CUSTOM_ERR_6553);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
@ -114,8 +114,8 @@ void printConfiguration(const engine_configuration_s *engineConfiguration) {
|
||||||
}
|
}
|
||||||
|
|
||||||
efiPrintf("=== injection ===");
|
efiPrintf("=== injection ===");
|
||||||
efiPrintf("injection %s offset=%.2f/enabled=%s", getInjection_mode_e(engineConfiguration->injectionMode),
|
efiPrintf("injection %s enabled=%s", getInjection_mode_e(engineConfiguration->injectionMode),
|
||||||
(double) engineConfiguration->extraInjectionOffset, boolToString(engineConfiguration->isInjectionEnabled));
|
boolToString(engineConfiguration->isInjectionEnabled));
|
||||||
|
|
||||||
printOutputs(engineConfiguration);
|
printOutputs(engineConfiguration);
|
||||||
|
|
||||||
|
@ -181,12 +181,6 @@ static void setIdlePinMode(int value) {
|
||||||
doPrintConfiguration();
|
doPrintConfiguration();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void setInjectionOffset(float value) {
|
|
||||||
engineConfiguration->extraInjectionOffset = value;
|
|
||||||
doPrintConfiguration();
|
|
||||||
incrementGlobalConfigurationVersion();
|
|
||||||
}
|
|
||||||
|
|
||||||
static void setFuelPumpPinMode(int value) {
|
static void setFuelPumpPinMode(int value) {
|
||||||
engineConfiguration->fuelPumpPinMode = (pin_output_mode_e) value;
|
engineConfiguration->fuelPumpPinMode = (pin_output_mode_e) value;
|
||||||
doPrintConfiguration();
|
doPrintConfiguration();
|
||||||
|
@ -901,7 +895,6 @@ const plain_get_float_s getF_plain[] = {
|
||||||
{"adcVcc", &engineConfiguration->adcVcc},
|
{"adcVcc", &engineConfiguration->adcVcc},
|
||||||
{"cranking_dwell", &engineConfiguration->ignitionDwellForCrankingMs},
|
{"cranking_dwell", &engineConfiguration->ignitionDwellForCrankingMs},
|
||||||
{"idle_position", &engineConfiguration->manIdlePosition},
|
{"idle_position", &engineConfiguration->manIdlePosition},
|
||||||
{"injection_offset", &engineConfiguration->extraInjectionOffset},
|
|
||||||
{"global_trigger_offset_angle", &engineConfiguration->globalTriggerAngleOffset},
|
{"global_trigger_offset_angle", &engineConfiguration->globalTriggerAngleOffset},
|
||||||
{"global_fuel_correction", &engineConfiguration->globalFuelCorrection},
|
{"global_fuel_correction", &engineConfiguration->globalFuelCorrection},
|
||||||
{"vbatt_divider", &engineConfiguration->vbattDividerCoeff},
|
{"vbatt_divider", &engineConfiguration->vbattDividerCoeff},
|
||||||
|
@ -1000,7 +993,6 @@ struct command_f_s {
|
||||||
|
|
||||||
const command_f_s commandsF[] = {
|
const command_f_s commandsF[] = {
|
||||||
#if EFI_ENGINE_CONTROL
|
#if EFI_ENGINE_CONTROL
|
||||||
{"injection_offset", setInjectionOffset},
|
|
||||||
{"global_trigger_offset_angle", setGlobalTriggerAngleOffset},
|
{"global_trigger_offset_angle", setGlobalTriggerAngleOffset},
|
||||||
{"global_fuel_correction", setGlobalFuelCorrection},
|
{"global_fuel_correction", setGlobalFuelCorrection},
|
||||||
{"cranking_fuel", setCrankingFuel},
|
{"cranking_fuel", setCrankingFuel},
|
||||||
|
|
Loading…
Reference in New Issue