altoslib: Move computed state from AltosRecord to AltosState
[fw/altos] / altoslib / AltosTelemetryRecordRaw.java
index fbb373d54dcdfb9beaba3e3610150b255cd47ac2..c21da6fc1cbe26f87eb480f0ecf6fce9477cc6f0 100644 (file)
@@ -65,7 +65,7 @@ public class AltosTelemetryRecordRaw extends AltosTelemetryRecord {
                if (previous != null)
                        next = previous.clone();
                else
-                       next = new AltosRecord();
+                       next = new AltosRecordNone();
                next.serial = serial;
                next.tick = tick;
                return next;