altosui: Create abstract AltosDevice class
[fw/altos] / altosui / AltosConfig.java
index f45e20408c7501b604f0b6d67e829ea66772b9c6..c5de83f20608cea55c17a6eb78b1d5cab3090470 100644 (file)
@@ -344,11 +344,11 @@ public class AltosConfig implements ActionListener {
                version = new string_ref("unknown");
                product = new string_ref("unknown");
 
                version = new string_ref("unknown");
                product = new string_ref("unknown");
 
-               device = AltosDeviceDialog.show(owner, AltosDevice.product_any);
+               device = AltosDeviceDialog.show(owner, Altos.product_any);
                if (device != null) {
                        try {
                                serial_line = new AltosSerial(device);
                if (device != null) {
                        try {
                                serial_line = new AltosSerial(device);
-                               if (!device.matchProduct(AltosDevice.product_telemetrum))
+                               if (!device.matchProduct(Altos.product_telemetrum))
                                        remote = true;
                                try {
                                        init_ui();
                                        remote = true;
                                try {
                                        init_ui();