diff options
author | Keith Packard <keithp@keithp.com> | 2009-04-14 19:08:01 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-04-14 19:08:01 -0700 |
commit | acc4fc635edb70ec1ba2dff9f7ac0c8542c72c47 (patch) | |
tree | de8ce5e1cdfb925cfdb3be15e75c7e3e1c4d5c52 /ao_cmd.c | |
parent | ac99982b10fd5772218660137ee21db9b90cd885 (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.c | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -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[] = |