WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
more refactoring
This commit is contained in:
parent
643cc24931
commit
dbac03f981
|
@ -379,7 +379,7 @@ static void setSensorChartMode(int value) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void setOperationMode(int value) {
|
static void setOperationMode(int value) {
|
||||||
engineConfiguration->operationMode = (operation_mode_e)value;
|
engineConfiguration->ambiguousOperationMode = (operation_mode_e)value;
|
||||||
doPrintConfiguration();
|
doPrintConfiguration();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -560,7 +560,7 @@ static void setToothedWheel(int total, int skipped DECLARE_ENGINE_PARAMETER_SUFF
|
||||||
engineConfiguration->trigger.customSkippedToothCount = skipped;
|
engineConfiguration->trigger.customSkippedToothCount = skipped;
|
||||||
|
|
||||||
scheduleMsg(&logger, "toothed: total=%d/skipped=%d", total, skipped);
|
scheduleMsg(&logger, "toothed: total=%d/skipped=%d", total, skipped);
|
||||||
setToothedWheelConfiguration(&engine->triggerCentral.triggerShape, total, skipped, engineConfiguration->operationMode);
|
setToothedWheelConfiguration(&engine->triggerCentral.triggerShape, total, skipped, engineConfiguration->ambiguousOperationMode);
|
||||||
// initializeTriggerShape(&logger, engineConfiguration, engineConfiguration2);
|
// initializeTriggerShape(&logger, engineConfiguration, engineConfiguration2);
|
||||||
incrementGlobalConfigurationVersion(PASS_ENGINE_PARAMETER_SIGNATURE);
|
incrementGlobalConfigurationVersion(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||||
doPrintConfiguration();
|
doPrintConfiguration();
|
||||||
|
@ -1336,7 +1336,7 @@ static void setValue(const char *paramStr, const char *valueStr) {
|
||||||
} else if (strEqualCaseInsensitive(paramStr, "step1timing")) {
|
} else if (strEqualCaseInsensitive(paramStr, "step1timing")) {
|
||||||
engineConfiguration->step1timing = valueI;
|
engineConfiguration->step1timing = valueI;
|
||||||
} else if (strEqualCaseInsensitive(paramStr, "operation_mode")) {
|
} else if (strEqualCaseInsensitive(paramStr, "operation_mode")) {
|
||||||
engineConfiguration->operationMode = (operation_mode_e)valueI;
|
engineConfiguration->ambiguousOperationMode = (operation_mode_e)valueI;
|
||||||
} else if (strEqualCaseInsensitive(paramStr, "wwaeTau")) {
|
} else if (strEqualCaseInsensitive(paramStr, "wwaeTau")) {
|
||||||
engineConfiguration->wwaeTau = valueF;
|
engineConfiguration->wwaeTau = valueF;
|
||||||
} else if (strEqualCaseInsensitive(paramStr, "wwaeBeta")) {
|
} else if (strEqualCaseInsensitive(paramStr, "wwaeBeta")) {
|
||||||
|
|
Loading…
Reference in New Issue