altos: Remove unused ao_adc_get from ao_adc_stm.c
[fw/altos] / ao-tools / ao-view / aoview_log.c
index 1b89c28cd602b1253330f91bc74dc964dbee00e6..fd6b33241bca448559f1ce1c2d528057626611ad 100644 (file)
@@ -3,7 +3,8 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -38,6 +39,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, ...)
 {