type. wow no one reads this
This commit is contained in:
parent
6b94feaead
commit
d5b962fe88
|
@ -114,7 +114,7 @@ public class PortDetector {
|
|||
public static SerialAutoChecker.AutoDetectResult autoDetectPort(JFrame parent) {
|
||||
SerialAutoChecker.AutoDetectResult autoDetectedPort = autoDetectSerial(null);
|
||||
if (autoDetectedPort.getSerialPort() == null) {
|
||||
JOptionPane.showMessageDialog(parent, "Failed to located device");
|
||||
JOptionPane.showMessageDialog(parent, "Failed to locate rusEFU");
|
||||
return null;
|
||||
}
|
||||
return autoDetectedPort;
|
||||
|
|
|
@ -18,7 +18,7 @@ import static com.rusefi.tools.ConsoleTools.startAndConnect;
|
|||
public class PerformanceTraceHelper {
|
||||
public static void grabPerformanceTrace(JComponent parent, BinaryProtocol bp) {
|
||||
if (bp == null) {
|
||||
JOptionPane.showMessageDialog(parent, "Failed to located serial ports");
|
||||
JOptionPane.showMessageDialog(parent, "Failed to locate serial ports");
|
||||
return;
|
||||
}
|
||||
bp.executeCommand(Fields.TS_PERF_TRACE_BEGIN, "begin trace");
|
||||
|
|
|
@ -34,7 +34,7 @@ public class DfuFlasher {
|
|||
|
||||
public static void doAutoDfu(Object selectedItem, JComponent parent) {
|
||||
if (selectedItem == null) {
|
||||
JOptionPane.showMessageDialog(parent, "Failed to located serial ports");
|
||||
JOptionPane.showMessageDialog(parent, "Failed to locate serial ports");
|
||||
return;
|
||||
}
|
||||
String port = selectedItem.toString();
|
||||
|
|
Loading…
Reference in New Issue