Win7: console fails to auto-connect #3931

This commit is contained in:
rusefillc 2022-02-12 17:12:43 -05:00
parent 8a1b9d9414
commit ee3f28560b
1 changed files with 11 additions and 1 deletions

View File

@ -71,7 +71,9 @@ public class SerialAutoChecker {
/** /**
* propagating result after closing the port so that it could be used right away * propagating result after closing the port so that it could be used right away
*/ */
result.set(new AutoDetectResult(serialPort, signature)); AutoDetectResult value = new AutoDetectResult(serialPort, signature);
log.info("Propagating " + value);
result.set(value);
portFound.countDown(); portFound.countDown();
} }
} }
@ -122,5 +124,13 @@ public class SerialAutoChecker {
public String getSignature() { public String getSignature() {
return signature; return signature;
} }
@Override
public String toString() {
return "AutoDetectResult{" +
"serialPort='" + serialPort + '\'' +
", signature='" + signature + '\'' +
'}';
}
} }
} }