Automatically extract flight number for eeprom and telem filenames.
[fw/altos] / ao-tools / ao-view / aoview_log.c
index 1b89c28cd602b1253330f91bc74dc964dbee00e6..2880ecb11e288e03aec6b36aab7a118c698d9a1a 100644 (file)
@@ -38,6 +38,18 @@ aoview_log_get_serial(void)
        return aoview_file_get_serial(aoview_log);
 }
 
+void
+aoview_log_set_flight(int flight)
+{
+       aoview_file_set_flight(aoview_log, flight);
+}
+
+int
+aoview_log_get_flight(void)
+{
+       return aoview_file_get_flight(aoview_log);
+}
+
 void
 aoview_log_printf(char *format, ...)
 {