projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: first cut at ADS124S0X driver interrupt handling
[fw/altos]
/
ao-tools
/
ao-view
/
aoview_log.c
diff --git
a/ao-tools/ao-view/aoview_log.c
b/ao-tools/ao-view/aoview_log.c
index 1b89c28cd602b1253330f91bc74dc964dbee00e6..fd6b33241bca448559f1ce1c2d528057626611ad 100644
(file)
--- a/
ao-tools/ao-view/aoview_log.c
+++ b/
ao-tools/ao-view/aoview_log.c
@@
-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
*
* 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
*
* 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);
}
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, ...)
{
void
aoview_log_printf(char *format, ...)
{