X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosui%2FAltosUI.java;h=538f87348639a00195323db2e5ce987a8b777ce9;hb=9fb15d397890c7e78bf3c1438f142f62bfc2bd35;hp=a2816a3a6dc4cf7158e28d6273b3a7a298613f73;hpb=97663f922e236f4ee7bd08277ca80d419b5cd10f;p=fw%2Faltos diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java index a2816a3a..538f8734 100644 --- a/altosui/AltosUI.java +++ b/altosui/AltosUI.java @@ -27,6 +27,7 @@ import java.util.*; import java.text.*; import java.util.prefs.*; import java.util.concurrent.*; +import org.altusmetrum.AltosLib.*; import libaltosJNI.*; @@ -47,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) {