diff options
| -rw-r--r-- | altosui/AltosUI.java | 5 | 
1 files changed, 3 insertions, 2 deletions
| 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<AltosDevice> 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++) { | 
