a bit of dead code
This commit is contained in:
parent
901405555b
commit
dd65b81754
|
@ -636,8 +636,6 @@ static void setDefaultEngineConfiguration() {
|
|||
engineConfiguration->mapErrorDetectionTooHigh = 410;
|
||||
|
||||
engineConfiguration->hip9011Gain = 1;
|
||||
|
||||
engineConfiguration->isEngineControlEnabled = true;
|
||||
#endif // EFI_ENGINE_CONTROL
|
||||
#include "default_script.lua"
|
||||
}
|
||||
|
|
|
@ -479,9 +479,7 @@ void commonInitEngineController() {
|
|||
#endif /* EFI_UNIT_TEST */
|
||||
|
||||
#if (EFI_ENGINE_CONTROL && EFI_SHAFT_POSITION_INPUT) || EFI_SIMULATOR || EFI_UNIT_TEST
|
||||
if (engineConfiguration->isEngineControlEnabled) {
|
||||
initAuxValves();
|
||||
}
|
||||
initAuxValves();
|
||||
#endif /* EFI_ENGINE_CONTROL */
|
||||
|
||||
initTachometer();
|
||||
|
|
|
@ -626,14 +626,6 @@ static void enableOrDisable(const char *param, bool isEnabled) {
|
|||
engine->etbAutoTune = isEnabled;
|
||||
} else if (strEqualCaseInsensitive(param, "verboseKLine")) {
|
||||
engineConfiguration->verboseKLine = isEnabled;
|
||||
} else if (strEqualCaseInsensitive(param, "step1limimter")) {
|
||||
engineConfiguration->enabledStep1Limiter = isEnabled;
|
||||
#if EFI_PROD_CODE
|
||||
} else if (strEqualCaseInsensitive(param, "auto_idle")) {
|
||||
#if EFI_IDLE_CONTROL
|
||||
setIdleMode(isEnabled ? IM_MANUAL : IM_AUTO);
|
||||
#endif // EFI_IDLE_CONTROL
|
||||
#endif // EFI_PROD_CODE
|
||||
} else if (strEqualCaseInsensitive(param, "stepperidle")) {
|
||||
engineConfiguration->useStepperIdle = isEnabled;
|
||||
} else if (strEqualCaseInsensitive(param, "two_wire_batch_injection")) {
|
||||
|
@ -692,16 +684,6 @@ static void enableOrDisable(const char *param, bool isEnabled) {
|
|||
disableTriggerStimulator();
|
||||
}
|
||||
#endif // EFI_EMULATE_POSITION_SENSORS
|
||||
} else if (strEqualCaseInsensitive(param, "engine_control")) {
|
||||
engineConfiguration->isEngineControlEnabled = isEnabled;
|
||||
} else if (strEqualCaseInsensitive(param, "map_avg")) {
|
||||
engineConfiguration->isMapAveragingEnabled = isEnabled;
|
||||
} else if (strEqualCaseInsensitive(param, "logic_analyzer")) {
|
||||
engineConfiguration->isWaveAnalyzerEnabled = isEnabled;
|
||||
} else if (strEqualCaseInsensitive(param, "manual_spinning")) {
|
||||
engineConfiguration->isManualSpinningMode = isEnabled;
|
||||
} else if (strEqualCaseInsensitive(param, "cylinder_cleanup")) {
|
||||
engineConfiguration->isCylinderCleanupEnabled = isEnabled;
|
||||
} else {
|
||||
efiPrintf("unexpected [%s]", param);
|
||||
return; // well, MISRA would not like this 'return' here :(
|
||||
|
|
|
@ -711,7 +711,7 @@ bit is_enabled_spi_2
|
|||
bit is_enabled_spi_3
|
||||
bit isSdCardEnabled;enable sd/disable sd
|
||||
bit rusefiVerbose29b,"29 bit","11 bit";Use 11 bit (standard) or 29 bit (extended) IDs for rusEFI verbose CAN format.
|
||||
bit isEngineControlEnabled
|
||||
bit unusedIsEngineControlEnabled
|
||||
bit isHip9011Enabled
|
||||
bit isVerboseAlternator
|
||||
bit verboseQuad
|
||||
|
|
Loading…
Reference in New Issue