Override trigger gaps feature #2734

This commit is contained in:
rusefillc 2021-10-30 11:09:10 -04:00
parent 6108675f59
commit 3d2e5be370
1 changed files with 4 additions and 2 deletions

View File

@ -12,8 +12,10 @@ TEST(subaru, overrideGap) {
CONFIG(overrideTriggerGaps) = true;
CONFIG(gapTrackingLengthOverride) = 2;
CONFIG(triggerGapOverride[0]) = 11.3;
CONFIG(triggerGapOverride[1]) = 1;
CONFIG(triggerGapOverrideFrom[0]) = 0.75 * 11.3;
CONFIG(triggerGapOverrideTo[0]) = 1.75 * 11.3;
CONFIG(triggerGapOverrideFrom[1]) = 0.75;
CONFIG(triggerGapOverrideTo[1]) = 1.25;
eth.setTriggerType(TT_SUBARU_7_WITHOUT_6 PASS_ENGINE_PARAMETER_SUFFIX);