altosui: Move telemetry reader &c to altoslib
[fw/altos] / altosui / AltosUI.java
index 25c6c36b7845c374c9da499a61517b6b6e00f863..538f87348639a00195323db2e5ce987a8b777ce9 100644 (file)
@@ -48,7 +48,7 @@ public class AltosUI extends AltosFrame {
 
        void telemetry_window(AltosDevice device) {
                try {
-                       AltosFlightReader reader = new AltosTelemetryReader(device);
+                       AltosFlightReader reader = new AltosTelemetryReader(new AltosSerial(device));
                        if (reader != null)
                                new AltosFlightUI(voice, reader, device.getSerial());
                } catch (FileNotFoundException ee) {