diff --git a/firmware/controllers/trigger/trigger_decoder.h b/firmware/controllers/trigger/trigger_decoder.h index 17fd46a400..cc1967fc0c 100644 --- a/firmware/controllers/trigger/trigger_decoder.h +++ b/firmware/controllers/trigger/trigger_decoder.h @@ -127,8 +127,8 @@ bool isTriggerDecoderError(void); #define considerEventForGap() (!TRIGGER_SHAPE(useOnlyPrimaryForSync) || isPrimary) -#define isLessImportant(type) (!TRIGGER_SHAPE(gapBothDirections) && (TRIGGER_SHAPE(useRiseEdge) && (type != TV_RISE)) \ - || (!TRIGGER_SHAPE(gapBothDirections) && !TRIGGER_SHAPE(useRiseEdge) && (type != TV_FALL)) \ +#define isLessImportant(type) ((!TRIGGER_SHAPE(gapBothDirections)) && (TRIGGER_SHAPE(useRiseEdge) && (type != TV_RISE)) \ + || ((!TRIGGER_SHAPE(gapBothDirections)) && !TRIGGER_SHAPE(useRiseEdge) && (type != TV_FALL)) \ || (!considerEventForGap()) \ )