projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Merge GPS logging into a single function
[fw/altos]
/
altoslib
/
AltosFlightReader.java
diff --git
a/altoslib/AltosFlightReader.java
b/altoslib/AltosFlightReader.java
index 3039b4dcbaf22b018ee1ecf057a81224ebdf844b..4a722e42ac5b0e6f27c1b96e9de484e14cc43029 100644
(file)
--- a/
altoslib/AltosFlightReader.java
+++ b/
altoslib/AltosFlightReader.java
@@
-15,7
+15,7
@@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-package org.altusmetrum.altoslib_
1
;
+package org.altusmetrum.altoslib_
2
;
import java.text.*;
import java.io.*;
import java.text.*;
import java.io.*;
@@
-28,7
+28,7
@@
public class AltosFlightReader {
public void init() { }
public void init() { }
- public Altos
Record
read() throws InterruptedException, ParseException, AltosCRCException, IOException { return null; }
+ public Altos
State
read() throws InterruptedException, ParseException, AltosCRCException, IOException { return null; }
public void close(boolean interrupted) { }
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 supports_telemetry(int telemetry) { return false; }
public File backing_file() { return null; }
+
+ public boolean has_monitor_battery() { return false; }
+
+ public double monitor_battery() { return AltosLib.MISSING; }
}
}