SR20VE trigger
This commit is contained in:
parent
29d13aa32a
commit
b282f9cccf
|
@ -129,7 +129,7 @@ static trigger_value_e eventType[6] = { TV_FALL, TV_RISE, TV_FALL, TV_RISE, TV_F
|
|||
#define considerEventForGap() (!TRIGGER_SHAPE(useOnlyPrimaryForSync) || isPrimary)
|
||||
|
||||
#define needToSkipRise(type) (!TRIGGER_SHAPE(gapBothDirections)) && ((!TRIGGER_SHAPE(useRiseEdge)) && (type != TV_FALL))
|
||||
#define needToSkipFall(type) (!TRIGGER_SHAPE(gapBothDirections)) && ( TRIGGER_SHAPE(useRiseEdge) && (type != TV_RISE))
|
||||
#define needToSkipFall(type) (!TRIGGER_SHAPE(gapBothDirections)) && (( TRIGGER_SHAPE(useRiseEdge)) && (type != TV_RISE))
|
||||
|
||||
#define isLessImportant(type) (needToSkipFall(type) || needToSkipRise(type) || (!considerEventForGap()) )
|
||||
|
||||
|
|
Loading…
Reference in New Issue