mirror of https://github.com/FOME-Tech/fome-fw.git
common sense change? "should be safe" famous last words
This commit is contained in:
parent
ed3eaf319c
commit
f7b03d8e6e
|
@ -666,6 +666,7 @@ void TriggerState::decodeTriggerEvent(
|
|||
}
|
||||
if (!isValidIndex(triggerShape) && triggerStateListener) {
|
||||
triggerStateListener->OnTriggerInvalidIndex(currentCycle.current_index);
|
||||
return;
|
||||
}
|
||||
if (someSortOfTriggerError) {
|
||||
if (getTimeNowNt() - lastDecodingErrorTime > NT_PER_SECOND) {
|
||||
|
|
Loading…
Reference in New Issue