altosui: Move product definitions from AltosUI to AltosLib
[fw/altos] / altosui / AltosConfig.java
index 35fef08030c00bc6c37dbaadde46b728cbe1bdf1..cae41858d93525c851791b174b43e61378eaba70 100644 (file)
@@ -491,7 +491,7 @@ public class AltosConfig implements ActionListener {
                        try {
                                serial_line = new AltosSerial(device);
                                try {
-                                       if (!device.matchProduct(Altos.product_telemetrum))
+                                       if (!device.matchProduct(Altos.product_altimeter))
                                                remote = true;
                                        init_ui();
                                } catch (InterruptedException ie) {