SR20VE trigger

This commit is contained in:
rusefi 2017-03-18 21:22:56 -04:00
parent b03cc272de
commit 0383e5a567
1 changed files with 2 additions and 2 deletions

View File

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