summaryrefslogtreecommitdiff
path: root/altoslib/AltosTelemetryFile.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-10-02 16:55:18 -0700
committerKeith Packard <keithp@keithp.com>2017-10-02 16:55:18 -0700
commitde2b6ec1cdfd48c948bff7edbfe2540440429b1b (patch)
treeaa9754d515f020a6992ff4787e936be466bc9799 /altoslib/AltosTelemetryFile.java
parent322c1abead39cb398380dff384cd274c19dd81dd (diff)
altoslib,altosuilib,altosui: log_format/device_type TeleGPS selects stateless
When the device being analyzed has no flight state, we want to use the 'stateless' state so that the UI can display reasonable information. This bit was lost in the recent AltosState shuffle and this patch brings it back. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosTelemetryFile.java')
-rw-r--r--altoslib/AltosTelemetryFile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/altoslib/AltosTelemetryFile.java b/altoslib/AltosTelemetryFile.java
index 135b0284..e51455f8 100644
--- a/altoslib/AltosTelemetryFile.java
+++ b/altoslib/AltosTelemetryFile.java
@@ -128,7 +128,7 @@ public class AltosTelemetryFile implements AltosRecordSet {
/* Try to pick up at least one pre-boost value */
if (cal_data.time() >= -2)
telem.provide_data(listener);
- if (listener.state == AltosLib.ao_flight_landed)
+ if (listener.state() == AltosLib.ao_flight_landed)
break;
}
listener.finish();