Automatically extract flight number for eeprom and telem filenames.
[fw/altos] / ao-tools / ao-view / aoview_monitor.c
index 3d235e44f5d22d3db797b9c3c0b30fe85c6f0600..4d7e7a9ffc5a50c7c33d6857545e1742fdae9617 100644 (file)
@@ -68,6 +68,7 @@ aoview_monitor_callback(gpointer user_data,
                                if (monitor_pos) {
                                        if (aoview_monitor_parse(monitor_line)) {
                                                aoview_log_set_serial(aostate.data.serial);
+                                               aoview_log_set_flight(aostate.data.flight);
                                                if (aoview_log_get_serial())
                                                        aoview_log_printf ("%s\n", monitor_line);
                                        }