progress #363 - refactoring, less confusing code and a step towards a bug fix

This commit is contained in:
rusefi 2017-03-04 20:22:30 -05:00
parent 1381c814fa
commit c2c3ff97ee
1 changed files with 2 additions and 2 deletions

View File

@ -100,9 +100,9 @@ void TriggerShape::initialize(operation_mode_e operationMode, bool needSecondTri
// memset(triggerIndexByAngle, 0, sizeof(triggerIndexByAngle));
setTriggerSynchronizationGap(2);
secondSyncRatioFrom = 0.000001;
secondSyncRatioFrom = NAN; // NaN means do not use this ratio
secondSyncRatioTo = 100000;
thirdSyncRatioFrom = 0.000001;
thirdSyncRatioFrom = NAN; // NaN means do not use this ratio
thirdSyncRatioTo = 100000;