- AltosRecord telem = AltosTelemetry.parse(line.line, previous);
- if (telem.serial != 0 && telem.flight != 0 &&
- (telem.serial != serial || telem.flight != flight || log_file == null))
+ AltosTelemetry telem = AltosTelemetry.parse(line.line);
+ state = state.clone();
+ telem.update_state(state);
+ if (state.serial != serial || state.flight != flight || log_file == null)