Some telemetry formats include serial and flight in different packets,
so wait for both before creating the file
Signed-off-by: Keith Packard <keithp@keithp.com>
close_log_file();
serial = state.serial;
flight = state.flight;
close_log_file();
serial = state.serial;
flight = state.flight;
+ if (state.serial != AltosLib.MISSING && state.flight != AltosLib.MISSING)
+ open(state);
}
} catch (ParseException pe) {
} catch (AltosCRCException ce) {
}
} catch (ParseException pe) {
} catch (AltosCRCException ce) {