SR20VE trigger

This commit is contained in:
rusefi 2017-03-18 21:39:23 -04:00
parent 29d13aa32a
commit b282f9cccf
1 changed files with 1 additions and 1 deletions

View File

@ -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()) )