diff --git a/firmware/controllers/algo/engine_configuration.cpp b/firmware/controllers/algo/engine_configuration.cpp index 127013324e..9611aa7e69 100644 --- a/firmware/controllers/algo/engine_configuration.cpp +++ b/firmware/controllers/algo/engine_configuration.cpp @@ -700,7 +700,7 @@ void setDefaultConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) { * Use angle-based duration during cranking * this is equivalent to 'disable cranking_constant_dwell' console command */ - engineConfiguration->useConstantDwellDuringCranking = false; + engineConfiguration->useConstantDwellDuringCranking = true; engineConfiguration->ignitionDwellForCrankingMs = 6; setFuelLoadBin(1.2, 4.4 PASS_CONFIG_PARAMETER_SUFFIX); diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 9834c991cd..5837850631 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -646,7 +646,7 @@ bit vvtDisplayInverted bit fuelClosedLoopCorrectionEnabled bit isVerboseIAC;+Print details into rusEfi console bit isVerboseETB;enable verbose_etb - bit useConstantDwellDuringCranking;+Use angle-based duration or fixed absolute time dwell duration? + bit useConstantDwellDuringCranking;+If set to true, will use the specified duration for cranking dwell. If set to false, will use the specified dwell angle. Unless you have a really good reason to, leave this set to true to use duration mode. bit isEngineChartEnabled;This options enables data for 'engine sniffer' tab in console, which comes at some CPU price bit silentTriggerError bit useLinearCltSensor diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index 1ee0ae35fa..b2d3a2550a 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -2050,9 +2050,9 @@ cmd_set_engine_type_Miata_NA2 = "w\x00\x30\x00\x2F" field = "Advance", crankingTimingAngle, {useSeparateAdvanceForCranking == 0} field = "Use separate Advance Table for cranking", useSeparateAdvanceForCranking field = "Use Advance Corrections for cranking", useAdvanceCorrectionsForCranking - field = "Use fixed Dwell?", useConstantDwellDuringCranking - field = "Fixed Dwell", ignitionDwellForCrankingMs, {useConstantDwellDuringCranking == 1} - field = "Charge Angle", crankingChargeAngle, {useConstantDwellDuringCranking == 0} + field = "Use fixed cranking dwell", useConstantDwellDuringCranking + field = "Fixed Cranking Dwell", ignitionDwellForCrankingMs, {useConstantDwellDuringCranking == 1} + field = "Cranking Dwell Angle", crankingChargeAngle, {useConstantDwellDuringCranking == 0} dialog = postCrankingEnrichment, "Post-cranking short-time fuel enrichment" field = "Target temperature", postCrankingTargetClt diff --git a/unit_tests/tests/test_trigger_decoder.cpp b/unit_tests/tests/test_trigger_decoder.cpp index 7bc4db0045..6ff268990c 100644 --- a/unit_tests/tests/test_trigger_decoder.cpp +++ b/unit_tests/tests/test_trigger_decoder.cpp @@ -202,6 +202,7 @@ TEST(misc, testFordAspire) { engineConfiguration->crankingChargeAngle = 65; engineConfiguration->crankingTimingAngle = 31; + engineConfiguration->useConstantDwellDuringCranking = false; engine->rpmCalculator.setRpmValue(200 PASS_ENGINE_PARAMETER_SUFFIX); assertEqualsM("cranking dwell", 54.166670, getSparkDwell(200 PASS_ENGINE_PARAMETER_SUFFIX));