auto-sync
This commit is contained in:
parent
1a92a543fb
commit
3b7aca3308
|
@ -295,6 +295,10 @@ void setDefaultConfiguration(DECLARE_ENGINE_PARAMETER_F) {
|
|||
// todo: this value is way off! I am pretty sure temp coeffs are off also
|
||||
engineConfiguration->iat.config.bias_resistor = 2700;
|
||||
|
||||
|
||||
engineConfiguration->step1rpm = 3000;
|
||||
engineConfiguration->step1timing = 10;
|
||||
|
||||
engineConfiguration->rpmHardLimit = 7000;
|
||||
engineConfiguration->cranking.rpm = 550;
|
||||
engineConfiguration->cutFuelOnHardLimit = true;
|
||||
|
|
|
@ -821,6 +821,8 @@ static void setSpiMode(int index, bool mode) {
|
|||
static void enableOrDisable(const char *param, bool isEnabled) {
|
||||
if (strEqualCaseInsensitive(param, "fastadc")) {
|
||||
boardConfiguration->isFastAdcEnabled = isEnabled;
|
||||
} else if (strEqualCaseInsensitive(param, "step1limimter")) {
|
||||
boardConfiguration->enabledStep1Limiter = isEnabled;
|
||||
} else if (strEqualCaseInsensitive(param, "serial")) {
|
||||
boardConfiguration->useSerialPort = isEnabled;
|
||||
} else if (strEqualCaseInsensitive(param, "stepperidle")) {
|
||||
|
@ -956,6 +958,10 @@ static void setValue(const char *paramStr, const char *valueStr) {
|
|||
} else if (strEqualCaseInsensitive(paramStr, "alt_p")) {
|
||||
setAltPFactor(valueF);
|
||||
#endif
|
||||
} else if (strEqualCaseInsensitive(paramStr, "step1rpm")) {
|
||||
engineConfiguration->step1rpm = valueI;
|
||||
} else if (strEqualCaseInsensitive(paramStr, "step1timing")) {
|
||||
engineConfiguration->step1timing = valueI;
|
||||
} else if (strEqualCaseInsensitive(paramStr, "targetvbatt")) {
|
||||
engineConfiguration->targetVBatt = valueF;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue