X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosui%2FAltosUI.java;h=50c5baabcd92146527d2b483bdf58721513b397e;hb=9001d5780a41986017bd3bbc7f8c5556b116c351;hp=8d5cacd4cd31fbd329b6067063672994b193c857;hpb=b89fb51a963635e2effe3a31f803bfc29c2c46b7;p=fw%2Faltos 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++) {