heling build
This commit is contained in:
parent
289a01fd05
commit
2c5419df23
|
@ -63,7 +63,7 @@ public class TriggerWheelInfo {
|
|||
break; // here we will read until first comment line which designates end of key-value pairs section
|
||||
String[] keyValue = line.split("=");
|
||||
if (keyValue.length != 2)
|
||||
throw new IllegalStateException("Key/value lines expected");
|
||||
throw new IllegalStateException("Key/value lines expected: [" + line + "]");
|
||||
switch (keyValue[0]) {
|
||||
case TRIGGER_IS_CRANK_KEY:
|
||||
isCrankBased = Boolean.parseBoolean(keyValue[1]);
|
||||
|
|
|
@ -73,6 +73,7 @@ TEST_P(AllTriggersFixture, TestTrigger) {
|
|||
|
||||
fprintf(fp, "%s=%s\n", TRIGGER_HAS_SECOND_CHANNEL, shape->needSecondTriggerInput ? "true" : "false");
|
||||
fprintf(fp, "%s=%s\n", TRIGGER_IS_SECOND_WHEEL_CAM, shape->isSecondWheelCam ? "true" : "false");
|
||||
fprintf(fp, "# end of meta section\n", shape->expectedDutyCycle[0], shape->expectedDutyCycle[1]);
|
||||
|
||||
for (size_t i = 0; i < shape->getLength(); i++) {
|
||||
int triggerDefinitionCoordinate = (shape->getTriggerWaveformSynchPointIndex() + i) % shape->getSize();
|
||||
|
|
Loading…
Reference in New Issue