heling build

This commit is contained in:
rusefillc 2022-05-31 08:48:24 -04:00
parent 289a01fd05
commit 2c5419df23
2 changed files with 2 additions and 1 deletions

View File

@ -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]);

View File

@ -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();