mirror of https://github.com/rusefi/rusefi-1.git
progress #363 - refactoring, less confusing code and a step towards a bug fix
This commit is contained in:
parent
1381c814fa
commit
c2c3ff97ee
|
@ -100,9 +100,9 @@ void TriggerShape::initialize(operation_mode_e operationMode, bool needSecondTri
|
||||||
// memset(triggerIndexByAngle, 0, sizeof(triggerIndexByAngle));
|
// memset(triggerIndexByAngle, 0, sizeof(triggerIndexByAngle));
|
||||||
setTriggerSynchronizationGap(2);
|
setTriggerSynchronizationGap(2);
|
||||||
|
|
||||||
secondSyncRatioFrom = 0.000001;
|
secondSyncRatioFrom = NAN; // NaN means do not use this ratio
|
||||||
secondSyncRatioTo = 100000;
|
secondSyncRatioTo = 100000;
|
||||||
thirdSyncRatioFrom = 0.000001;
|
thirdSyncRatioFrom = NAN; // NaN means do not use this ratio
|
||||||
thirdSyncRatioTo = 100000;
|
thirdSyncRatioTo = 100000;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue