summaryrefslogtreecommitdiff
path: root/ao_cmd.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-04-14 19:08:01 -0700
committerKeith Packard <keithp@keithp.com>2009-04-14 19:08:01 -0700
commitacc4fc635edb70ec1ba2dff9f7ac0c8542c72c47 (patch)
treede8ce5e1cdfb925cfdb3be15e75c7e3e1c4d5c52 /ao_cmd.c
parentac99982b10fd5772218660137ee21db9b90cd885 (diff)
Add in existing flight pieces: flight/report/log
These pieces come from the old telemetrum firmware. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao_cmd.c')
-rw-r--r--ao_cmd.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/ao_cmd.c b/ao_cmd.c
index fd87f87e..303f9bc5 100644
--- a/ao_cmd.c
+++ b/ao_cmd.c
@@ -463,20 +463,18 @@ debug_output(void)
static void
dump_log(void)
{
-#if 0
uint8_t more;
- for (more = log_first(); more; more = log_next()) {
- putchar(log_dump.type);
+ for (more = ao_log_dump_first(); more; more = ao_log_dump_next()) {
+ putchar(ao_log_dump.type);
putchar(' ');
- put16(log_dump.tick);
+ put16(ao_log_dump.tick);
putchar(' ');
- put16(log_dump.u.anon.d0);
+ put16(ao_log_dump.u.anon.d0);
putchar(' ');
- put16(log_dump.u.anon.d1);
+ put16(ao_log_dump.u.anon.d1);
putchar('\n');
}
-#endif
}
static const uint8_t help_txt[] =