mirror of https://github.com/rusefi/rusefi.git
only:helping build
This commit is contained in:
parent
4be0d15a64
commit
0c2dcb1788
|
@ -28,7 +28,7 @@ public class TriggerWheelInfo {
|
|||
boolean isSecondWheelCam,
|
||||
boolean hasSecondChannel,
|
||||
boolean hardcodedOperationMode,
|
||||
TriggerGaps gaps) {
|
||||
TriggerGaps gaps, String syncEdge) {
|
||||
this.id = id;
|
||||
this.isSecondWheelCam = isSecondWheelCam;
|
||||
this.tdcPosition = tdcPosition;
|
||||
|
@ -58,6 +58,8 @@ public class TriggerWheelInfo {
|
|||
boolean hasSecondChannel = false;
|
||||
boolean hardcodedOperationMode = false;
|
||||
TriggerWheelInfo.TriggerGaps gaps = null;
|
||||
String syncEdge = null;
|
||||
|
||||
while (true) {
|
||||
line = reader.readLine();
|
||||
if (line == null || line.trim().startsWith("#"))
|
||||
|
@ -100,6 +102,8 @@ public class TriggerWheelInfo {
|
|||
case TRIGGER_WITH_SYNC:
|
||||
//isSynchronizationNeeded = Integer.parseInt(value) > 0;
|
||||
break;
|
||||
case TRIGGER_SYNC_EDGE:
|
||||
syncEdge = value;
|
||||
default:
|
||||
throw new IllegalStateException("Unexpected key/value: " + line);
|
||||
}
|
||||
|
@ -113,7 +117,8 @@ public class TriggerWheelInfo {
|
|||
isSecondWheelCam,
|
||||
hasSecondChannel,
|
||||
hardcodedOperationMode,
|
||||
gaps
|
||||
gaps,
|
||||
syncEdge
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue