auto-sync
This commit is contained in:
parent
9e90c7e7a4
commit
7e1302794d
|
@ -78,6 +78,7 @@ void setBmwE34(DECLARE_ENGINE_PARAMETER_F) {
|
||||||
engineConfiguration->cranking.rpm = 600;
|
engineConfiguration->cranking.rpm = 600;
|
||||||
engineConfiguration->crankingInjectionMode = IM_BATCH;
|
engineConfiguration->crankingInjectionMode = IM_BATCH;
|
||||||
engineConfiguration->cranking.baseFuel = 7;
|
engineConfiguration->cranking.baseFuel = 7;
|
||||||
|
// enable constant_dwell
|
||||||
engineConfiguration->useConstantDwellDuringCranking = true;
|
engineConfiguration->useConstantDwellDuringCranking = true;
|
||||||
engineConfiguration->ignitionDwellForCrankingMs = 6;
|
engineConfiguration->ignitionDwellForCrankingMs = 6;
|
||||||
|
|
||||||
|
|
|
@ -825,6 +825,8 @@ static void setSpiMode(int index, bool mode) {
|
||||||
static void enableOrDisable(const char *param, bool isEnabled) {
|
static void enableOrDisable(const char *param, bool isEnabled) {
|
||||||
if (strEqualCaseInsensitive(param, "fastadc")) {
|
if (strEqualCaseInsensitive(param, "fastadc")) {
|
||||||
boardConfiguration->isFastAdcEnabled = isEnabled;
|
boardConfiguration->isFastAdcEnabled = isEnabled;
|
||||||
|
} else if (strEqualCaseInsensitive(param, "constant_dwell")) {
|
||||||
|
engineConfiguration->useConstantDwellDuringCranking = isEnabled;
|
||||||
} else if (strEqualCaseInsensitive(param, "cj125")) {
|
} else if (strEqualCaseInsensitive(param, "cj125")) {
|
||||||
boardConfiguration->isCJ125Enabled = isEnabled;
|
boardConfiguration->isCJ125Enabled = isEnabled;
|
||||||
} else if (strEqualCaseInsensitive(param, "engine_sniffer")) {
|
} else if (strEqualCaseInsensitive(param, "engine_sniffer")) {
|
||||||
|
|
Loading…
Reference in New Issue