X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=altosui%2FAltosUI.java;h=50c5baabcd92146527d2b483bdf58721513b397e;hp=8d5cacd4cd31fbd329b6067063672994b193c857;hb=b15bd24bbe48e338497c6257f5fe2c7fd1cbffbb;hpb=c35ea586b9e792c45b287924fd256928308d9a36 diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java index 8d5cacd4..50c5baab 100644 --- a/altosui/AltosUI.java +++ b/altosui/AltosUI.java @@ -560,8 +560,9 @@ public class AltosUI extends AltosUIFrame { AltosUI altosui = new AltosUI(); java.util.List devices = AltosUSBDevice.list(Altos.product_basestation); - for (AltosDevice device : devices) - altosui.telemetry_window(device); + if (devices != null) + for (AltosDevice device : devices) + altosui.telemetry_window(device); } else { int process = process_none; for (int i = 0; i < args.length; i++) {