altoslib: Stop re-loading previous flight when starting telemetry monitoring
authorKeith Packard <keithp@keithp.com>
Thu, 11 Sep 2014 21:14:07 +0000 (14:14 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 11 Sep 2014 21:26:34 +0000 (14:26 -0700)
This feature is necessary on AltosDroid because there's no other UI
for reloading an old flight. It's not useful on the desktop where you
really just want to see new telemetry; old telemetry is availbale
through the 'graph flight' or 'replay' mechanisms.

AltosDroid uses a different class for reading telemetry data, so we
can just remove this feature from altoslib at this point.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosTelemetryReader.java

index 7539452d4ad9cf3cb609a48b58292b197e128911..20526a2c584b95d4780a54cfae4a5ef73fa2718f 100644 (file)
@@ -199,6 +199,6 @@ public class AltosTelemetryReader extends AltosFlightReader {
 
        public AltosTelemetryReader(AltosLink link)
                throws IOException, InterruptedException, TimeoutException {
 
        public AltosTelemetryReader(AltosLink link)
                throws IOException, InterruptedException, TimeoutException {
-               this(link, existing_data(link));
+               this(link, null);
        }
 }
        }
 }