From d77a4ea206d627635159f35c76c744687d4e633b Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 27 Mar 2012 11:58:39 -0700 Subject: 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 --- altosui/AltosFlightReader.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'altosui/AltosFlightReader.java') 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; } } -- cgit v1.2.3