thank you Matt
This commit is contained in:
parent
abb2b113d2
commit
07b3242ded
|
@ -114,7 +114,7 @@ public class PortDetector {
|
||||||
public static SerialAutoChecker.AutoDetectResult autoDetectPort(JFrame parent) {
|
public static SerialAutoChecker.AutoDetectResult autoDetectPort(JFrame parent) {
|
||||||
SerialAutoChecker.AutoDetectResult autoDetectedPort = autoDetectSerial(null);
|
SerialAutoChecker.AutoDetectResult autoDetectedPort = autoDetectSerial(null);
|
||||||
if (autoDetectedPort.getSerialPort() == null) {
|
if (autoDetectedPort.getSerialPort() == null) {
|
||||||
JOptionPane.showMessageDialog(parent, "Failed to locate rusEFU");
|
JOptionPane.showMessageDialog(parent, "Failed to locate rusEFI");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return autoDetectedPort;
|
return autoDetectedPort;
|
||||||
|
|
Loading…
Reference in New Issue