proportional spark cut #3427

This commit is contained in:
rusefillc 2021-11-17 04:06:22 -05:00
parent 823d9a07e0
commit d688f72c3e
1 changed files with 5 additions and 0 deletions

View File

@ -529,6 +529,11 @@ void onTriggerEventSparkLogic(bool limitedSpark, uint32_t trgEventIndex, int rpm
warning(CUSTOM_ARTIFICIAL_MISFIRE, "artificial misfire on cylinder #1 for testing purposes %d", engine->globalSparkIdCounter);
continue;
}
#if EFI_LAUNCH_CONTROL
if (engine->softSparkLimiter.shouldSkip()) {
continue;
}
#endif // EFI_LAUNCH_CONTROL
scheduleSparkEvent(limitedSpark, trgEventIndex, event, rpm, edgeTimestamp);
}