Overdwell at times around syncloss while cranking #6349

huh why conditional on limitedSpark?
This commit is contained in:
rusefi 2024-04-10 00:19:06 -04:00 committed by rusefillc
parent 3f37d6a6a6
commit bb470a148f
1 changed files with 1 additions and 1 deletions

View File

@ -447,7 +447,7 @@ static void scheduleSparkEvent(bool limitedSpark, IgnitionEvent *event,
efiPrintf("to queue sparkDown revolution=%d [%s] now=%d for id=%d angle=%.1f", getRevolutionCounter(), event->getOutputForLoggins()->getName(), (int)getTimeNowUs(), event->sparkCounter, sparkAngle);
#endif /* SPARK_EXTREME_LOGGING */
if (!limitedSpark && ENABLE_OVERDWELL_PROTECTION) {
if (ENABLE_OVERDWELL_PROTECTION) {
// auto fire spark at 1.5x nominal dwell
efitick_t fireTime = chargeTime + MSF2NT(1.5f * dwellMs);