X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altoslib%2FAltosLog.java;h=aa30190cf148eecc987b877e5b73e560a845be6f;hb=6fa1ec0dbf2a4eda8d061c67b3779b83b88f29f0;hp=1c7069ce8521fd66209ed34a3f2837de9a62b199;hpb=2f2734bb418f5c3a89fa3f1bf1b98ce4cfe432e1;p=fw%2Faltos diff --git a/altoslib/AltosLog.java b/altoslib/AltosLog.java index 1c7069ce..aa30190c 100644 --- a/altoslib/AltosLog.java +++ b/altoslib/AltosLog.java @@ -85,7 +85,7 @@ public class AltosLog implements Runnable { continue; try { AltosRecord telem = AltosTelemetry.parse(line.line, previous); - if (telem.serial != 0 && telem.flight != 0 && + if ((telem.seen & AltosRecord.seen_flight) != 0 && (telem.serial != serial || telem.flight != flight || log_file == null)) { close_log_file();