dwell docs & better command name

This commit is contained in:
rusefi 2019-02-06 00:05:14 -05:00
parent 2db8809198
commit c736716d1a
2 changed files with 5 additions and 2 deletions

View File

@ -696,7 +696,10 @@ void setDefaultConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
* if you only have one coil and many cylinders or high RPM you would need lower value at higher RPM
*/
setConstantDwell(4 PASS_ENGINE_PARAMETER_SUFFIX);
// Use angle-based duration during cranking
/**
* Use angle-based duration during cranking
* this is equivalent to 'disable cranking_constant_dwell' console command
*/
engineConfiguration->useConstantDwellDuringCranking = false;
engineConfiguration->ignitionDwellForCrankingMs = 6;

View File

@ -865,7 +865,7 @@ static void enableOrDisable(const char *param, bool isEnabled) {
boardConfiguration->isFastAdcEnabled = isEnabled;
} else if (strEqualCaseInsensitive(param, "etb_auto")) {
engine->etbAutoTune = isEnabled;
} else if (strEqualCaseInsensitive(param, "constant_dwell")) {
} else if (strEqualCaseInsensitive(param, "cranking_constant_dwell")) {
engineConfiguration->useConstantDwellDuringCranking = isEnabled;
} else if (strEqualCaseInsensitive(param, "binary_mode_console")) {
boardConfiguration->startConsoleInBinaryMode = isEnabled;