fix small can board

This commit is contained in:
Matthew Kennedy 2024-08-29 11:23:58 -07:00
parent 3843218389
commit 77c5a150ee
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ void TriggerScheduler::schedule(AngleBasedEvent* event, action_s action) {
void TriggerScheduler::onEnginePhase(float rpm,
efitick_t edgeTimestamp, float currentPhase, float nextPhase) {
if (!isValidRpm(rpm)) {
if (!isValidRpm(rpm) || !EFI_SHAFT_POSITION_INPUT) {
// this might happen for instance in case of a single trigger event after a pause
return;
}