altosuilib: Don't match product_altusmetrum for product_basestation or product_altimeter
[fw/altos] / altoslib / AltosTelemetryReader.java
index dfbad5fb21c7b431b85cdc9e91990afcf2ffb60e..aea978445578e536b3daf3a5b1ffc73ffaf3675d 100644 (file)
@@ -34,7 +34,7 @@ public class AltosTelemetryReader extends AltosFlightReader {
                AltosLine l = telem.take();
                if (l.line == null)
                        throw new IOException("IO error");
-               AltosTelemetry  telem = AltosTelemetryLegacy.parse(l.line);
+               AltosTelemetry  telem = AltosTelemetry.parse(l.line);
                if (state == null)
                        state = new AltosState();
                else