This commit is contained in:
Matthew Kennedy 2023-02-22 23:46:16 -08:00
parent 1440647ba5
commit e6b07e636d
1 changed files with 7 additions and 1 deletions

View File

@ -248,7 +248,13 @@ void TriggerDecoderBase::incrementShaftSynchronizationCounter() {
// an indeterminite crank pattern
// If we're self stimulating, assume we have full sync so that outputs work during self stim
bool PrimaryTriggerDecoder::hasSynchronizedPhase() const {
return m_hasSynchronizedPhase || getTriggerCentral()->directSelfStimulation;
#if EFI_PROD_CODE
if (getTriggerCentral()->directSelfStimulation) {
return true;
}
#endif
return m_hasSynchronizedPhase;
}
void PrimaryTriggerDecoder::onTriggerError() {