get rid of unreachable code #6374

This commit is contained in:
kifir 2024-04-21 23:59:00 +03:00 committed by rusefillc
parent a41a57f55c
commit 6ff71d1a45
1 changed files with 0 additions and 5 deletions

View File

@ -314,11 +314,6 @@ static bool startDwellByTurningSparkPinHigh(IgnitionEvent *event, IgnitionOutput
if (output->outOfOrder) {
output->outOfOrder = false;
if (output->signalFallSparkId == event->sparkCounter) {
// let's save this coil if things do not look right
engine->engineState.sparkOutOfOrderCounter++;
return true;
}
}
output->setHigh();