diff options
| author | Keith Packard <keithp@keithp.com> | 2012-03-26 20:11:34 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-03-26 20:11:34 -0700 |
| commit | 392a3107b9e9cc8c1ea51df6ff5ec54817adbc65 (patch) | |
| tree | bf1020049df2f012bb44edc4ecd857fc18ecac7e /altosui/AltosTelemetry.java | |
| parent | 77639dae0fb9975219c2e211ea6dd6c7965eeea2 (diff) | |
altosui: Restructure telemetry classes to be more sane
* Make AltosTelemetryRecord be a class, rather than an interface.
* Inherit from this for AltosTelemetryRecordLegacy and
AltosTelemetryRecordRaw.
* Remove bogus AltosTelemetryRecordGeneral class.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosTelemetry.java')
| -rw-r--r-- | altosui/AltosTelemetry.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/AltosTelemetry.java b/altosui/AltosTelemetry.java index a05269f4..0052ef04 100644 --- a/altosui/AltosTelemetry.java +++ b/altosui/AltosTelemetry.java @@ -234,7 +234,7 @@ public class AltosTelemetry extends AltosRecord { final static String AO_TELEM_SAT_C_N_0 = "s_c"; static public AltosRecord parse(String line, AltosRecord previous) throws ParseException, AltosCRCException { - AltosTelemetryRecord r = AltosTelemetryRecordGeneral.parse(line); + AltosTelemetryRecord r = AltosTelemetryRecord.parse(line); return r.update_state(previous); } |
