summaryrefslogtreecommitdiff
path: root/altoslib/AltosTelemetryFile.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-06-18 14:50:18 -0700
committerKeith Packard <keithp@keithp.com>2019-06-18 14:50:18 -0700
commit6529fd623f0e4b921aea1110c723d7dc03954def (patch)
treef7aa046f87f45c1feecfc37f2390dfb9fcc2ff84 /altoslib/AltosTelemetryFile.java
parentbd351b9e3b1ba21851b2c87f5202ac3bf5c479c0 (diff)
altosui/telegps: Display error message when attempting to graph unknown files
Instead of presenting an empty graph window. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosTelemetryFile.java')
-rw-r--r--altoslib/AltosTelemetryFile.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/altoslib/AltosTelemetryFile.java b/altoslib/AltosTelemetryFile.java
index 679c6809..01d82c24 100644
--- a/altoslib/AltosTelemetryFile.java
+++ b/altoslib/AltosTelemetryFile.java
@@ -117,6 +117,10 @@ public class AltosTelemetryFile implements AltosRecordSet {
return cal_data;
}
+ public boolean valid() {
+ return true;
+ }
+
public void capture_series(AltosDataListener listener) {
AltosCalData cal_data = cal_data();