altosui: Allow any non-basestation to be configured
[fw/altos] / altosui / AltosConfig.java
index be9ab8bf6b1f51a1e7a9d3b70b8c7aaf8b76b692..44c6239af278821f0d229bd29e5d4eb2cdddb17b 100644 (file)
@@ -515,7 +515,7 @@ public class AltosConfig implements ActionListener {
                        try {
                                serial_line = new AltosSerial(device);
                                try {
-                                       if (!device.matchProduct(Altos.product_altimeter))
+                                       if (device.matchProduct(Altos.product_basestation))
                                                remote = true;
                                        init_ui();
                                } catch (InterruptedException ie) {