if (line.line == null)
continue;
try {
- AltosTelemetry telem = new AltosTelemetryLegacy(line.line);
+ AltosTelemetry telem = AltosTelemetry.parse(line.line);
if (state != null)
state = state.clone();
else
close_log_file();
serial = state.serial;
flight = state.flight;
- open(state);
+ if (state.serial != AltosLib.MISSING && state.flight != AltosLib.MISSING)
+ open(state);
}
} catch (ParseException pe) {
} catch (AltosCRCException ce) {