altosui: Allow any non-basestation to be configured
authorKeith Packard <keithp@keithp.com>
Tue, 23 Oct 2012 05:38:46 +0000 (22:38 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 23 Oct 2012 05:38:46 +0000 (22:38 -0700)
TelePyro has some configuration bits.

Signed-off-by: Keith Packard <keithp@keithp.com>
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) {