Win7: console fails to auto-connect #3931
This commit is contained in:
parent
b124225c6d
commit
884463adda
|
@ -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 + '\'' +
|
||||||
|
'}';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue