type. wow no one reads this

This commit is contained in:
rusefillc 2022-02-12 15:32:21 -05:00
parent 6b94feaead
commit d5b962fe88
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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