summaryrefslogtreecommitdiff
path: root/src/core/ao_log.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-05-25 23:18:06 -0600
committerKeith Packard <keithp@keithp.com>2012-05-25 23:18:06 -0600
commit78423f3fc5164ea9fd428606419784c1700ad5c5 (patch)
treebe55fd4a38c9bd0a295fa14e3172c821cac1b8cc /src/core/ao_log.c
parent0239e4dfe587528524b6380bbf6d9583047e52d6 (diff)
Get megametrum ready to at least log flight data
Doesn't track flight state changes correctly. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_log.c')
-rw-r--r--src/core/ao_log.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ao_log.c b/src/core/ao_log.c
index db60707d..d696625e 100644
--- a/src/core/ao_log.c
+++ b/src/core/ao_log.c
@@ -16,12 +16,13 @@
*/
#include "ao.h"
+#include <ao_log.h>
__pdata uint32_t ao_log_current_pos;
__pdata uint32_t ao_log_end_pos;
__pdata uint32_t ao_log_start_pos;
__xdata uint8_t ao_log_running;
-__pdata enum flight_state ao_log_state;
+__pdata enum ao_flight_state ao_log_state;
__xdata uint16_t ao_flight_number;
__code uint8_t ao_log_format = AO_LOG_FORMAT_FULL;