altosui: Use timeouts to recover from broken packet links.
[fw/altos] / ao-tools / altosui / AltosFlashUI.java
index b09cb59472e0d6c2608161bce26d2f838ae0fdbd..d3b72c67737b507fd6274429614cc6f1641a1138 100644 (file)
@@ -90,7 +90,7 @@ public class AltosFlashUI
                } catch (AltosSerialInUseException si) {
                        JOptionPane.showMessageDialog(frame,
                                                      String.format("Device \"%s\" already in use",
-                                                                   debug_dongle.getPath()),
+                                                                   debug_dongle.toString()),
                                                      "Device in use",
                                                      JOptionPane.ERROR_MESSAGE);
                } catch (IOException e) {