summaryrefslogtreecommitdiff
path: root/altosui/AltosFlightReader.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-03-27 11:58:39 -0700
committerKeith Packard <keithp@keithp.com>2012-03-27 11:58:39 -0700
commitd77a4ea206d627635159f35c76c744687d4e633b (patch)
treeb8dbf66c2cfeb7817c6ff0e443b6f1a63f910975 /altosui/AltosFlightReader.java
parentd8ebb83e64d66fa159e75aa560d39d80bb6d9d04 (diff)
altosui: Show only supported telemetry version
Make it clear in the UI which telemetry versions are supported, providing the combobox only for new firmware which supports all versions. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosFlightReader.java')
-rw-r--r--altosui/AltosFlightReader.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/altosui/AltosFlightReader.java b/altosui/AltosFlightReader.java
index 47df375d..3ddf171d 100644
--- a/altosui/AltosFlightReader.java
+++ b/altosui/AltosFlightReader.java
@@ -43,5 +43,7 @@ public class AltosFlightReader {
void update(AltosState state) throws InterruptedException { }
+ boolean supports_telemetry(int telemetry) { return false; }
+
File backing_file() { return null; }
}