From acc4fc635edb70ec1ba2dff9f7ac0c8542c72c47 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 14 Apr 2009 19:08:01 -0700 Subject: Add in existing flight pieces: flight/report/log These pieces come from the old telemetrum firmware. Signed-off-by: Keith Packard --- ao_cmd.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'ao_cmd.c') 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[] = -- cgit v1.2.3