Merge branch 'master' into new-state
[fw/altos] / altoslib / AltosFlightReader.java
index 3039b4dcbaf22b018ee1ecf057a81224ebdf844b..5a415274e412024b9e3e08f41ab7a5e264e101cd 100644 (file)
@@ -28,7 +28,7 @@ public class AltosFlightReader {
 
        public void init() { }
 
-       public AltosRecord read() throws InterruptedException, ParseException, AltosCRCException, IOException { return null; }
+       public AltosState read() throws InterruptedException, ParseException, AltosCRCException, IOException { return null; }
 
        public void close(boolean interrupted) { }
 
@@ -45,4 +45,8 @@ public class AltosFlightReader {
        public boolean supports_telemetry(int telemetry) { return false; }
 
        public File backing_file() { return null; }
+
+       public boolean has_monitor_battery() { return false; }
+
+       public double monitor_battery() { return AltosRecord.MISSING; }
 }