This commit is contained in:
rusefi 2019-02-06 09:09:31 -05:00
commit a89394a456
4 changed files with 6 additions and 5 deletions

View File

@ -700,7 +700,7 @@ void setDefaultConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
* Use angle-based duration during cranking * Use angle-based duration during cranking
* this is equivalent to 'disable cranking_constant_dwell' console command * this is equivalent to 'disable cranking_constant_dwell' console command
*/ */
engineConfiguration->useConstantDwellDuringCranking = false; engineConfiguration->useConstantDwellDuringCranking = true;
engineConfiguration->ignitionDwellForCrankingMs = 6; engineConfiguration->ignitionDwellForCrankingMs = 6;
setFuelLoadBin(1.2, 4.4 PASS_CONFIG_PARAMETER_SUFFIX); setFuelLoadBin(1.2, 4.4 PASS_CONFIG_PARAMETER_SUFFIX);

View File

@ -646,7 +646,7 @@ bit vvtDisplayInverted
bit fuelClosedLoopCorrectionEnabled bit fuelClosedLoopCorrectionEnabled
bit isVerboseIAC;+Print details into rusEfi console bit isVerboseIAC;+Print details into rusEfi console
bit isVerboseETB;enable verbose_etb 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 isEngineChartEnabled;This options enables data for 'engine sniffer' tab in console, which comes at some CPU price
bit silentTriggerError bit silentTriggerError
bit useLinearCltSensor bit useLinearCltSensor

View File

@ -2050,9 +2050,9 @@ cmd_set_engine_type_Miata_NA2 = "w\x00\x30\x00\x2F"
field = "Advance", crankingTimingAngle, {useSeparateAdvanceForCranking == 0} field = "Advance", crankingTimingAngle, {useSeparateAdvanceForCranking == 0}
field = "Use separate Advance Table for cranking", useSeparateAdvanceForCranking field = "Use separate Advance Table for cranking", useSeparateAdvanceForCranking
field = "Use Advance Corrections for cranking", useAdvanceCorrectionsForCranking field = "Use Advance Corrections for cranking", useAdvanceCorrectionsForCranking
field = "Use fixed Dwell?", useConstantDwellDuringCranking field = "Use fixed cranking dwell", useConstantDwellDuringCranking
field = "Fixed Dwell", ignitionDwellForCrankingMs, {useConstantDwellDuringCranking == 1} field = "Fixed Cranking Dwell", ignitionDwellForCrankingMs, {useConstantDwellDuringCranking == 1}
field = "Charge Angle", crankingChargeAngle, {useConstantDwellDuringCranking == 0} field = "Cranking Dwell Angle", crankingChargeAngle, {useConstantDwellDuringCranking == 0}
dialog = postCrankingEnrichment, "Post-cranking short-time fuel enrichment" dialog = postCrankingEnrichment, "Post-cranking short-time fuel enrichment"
field = "Target temperature", postCrankingTargetClt field = "Target temperature", postCrankingTargetClt

View File

@ -202,6 +202,7 @@ TEST(misc, testFordAspire) {
engineConfiguration->crankingChargeAngle = 65; engineConfiguration->crankingChargeAngle = 65;
engineConfiguration->crankingTimingAngle = 31; engineConfiguration->crankingTimingAngle = 31;
engineConfiguration->useConstantDwellDuringCranking = false;
engine->rpmCalculator.setRpmValue(200 PASS_ENGINE_PARAMETER_SUFFIX); engine->rpmCalculator.setRpmValue(200 PASS_ENGINE_PARAMETER_SUFFIX);
assertEqualsM("cranking dwell", 54.166670, getSparkDwell(200 PASS_ENGINE_PARAMETER_SUFFIX)); assertEqualsM("cranking dwell", 54.166670, getSparkDwell(200 PASS_ENGINE_PARAMETER_SUFFIX));