triggerImage: todo: support symmetrical crank
This commit is contained in:
parent
5fb9f7c2df
commit
1704964d14
Binary file not shown.
|
@ -57,6 +57,7 @@ public class TriggerWheelInfo {
|
|||
boolean isSecondWheelCam = false;
|
||||
boolean hasSecondChannel = false;
|
||||
boolean hardcodedOperationMode = false;
|
||||
int cycleDuration = -1;
|
||||
TriggerWheelInfo.TriggerGaps gaps = null;
|
||||
while (true) {
|
||||
line = reader.readLine();
|
||||
|
@ -85,6 +86,9 @@ public class TriggerWheelInfo {
|
|||
case TRIGGER_IS_CRANK_KEY:
|
||||
isCrankBased = Boolean.parseBoolean(value);
|
||||
break;
|
||||
case TRIGGER_CYCLE_DURATION:
|
||||
cycleDuration = (int)Double.parseDouble(value);
|
||||
break;
|
||||
case TRIGGER_IS_SECOND_WHEEL_CAM:
|
||||
isSecondWheelCam = Boolean.parseBoolean(value);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue