diff options
author | Keith Packard <keithp@keithp.com> | 2009-11-15 15:59:01 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-11-15 15:59:01 -0800 |
commit | 3ee279ba76c2a79d142c466f19ef758cf4c01d70 (patch) | |
tree | c6fbd4dc087d931c5566bb03da464baaa7cd7b91 /src/ao_monitor.c | |
parent | 6391c89bd5b89f5f46255b8365c658a873e5959a (diff) |
Add flight number to telemetry stream.
This makes it easier to tie the telemetry and eeprom files together as
they're now both labeled with serial and flight numbers, which should
be unique.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_monitor.c')
-rw-r--r-- | src/ao_monitor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ao_monitor.c b/src/ao_monitor.c index cd0d693e..628b6e67 100644 --- a/src/ao_monitor.c +++ b/src/ao_monitor.c @@ -37,10 +37,11 @@ ao_monitor(void) if (state > ao_flight_invalid) state = ao_flight_invalid; if (recv.status & PKT_APPEND_STATUS_1_CRC_OK) { - printf("VERSION %d CALL %s SERIAL %3d RSSI %4d STATUS %02x STATE %7s ", + printf("VERSION %d CALL %s SERIAL %3d FLIGHT %5u RSSI %4d STATUS %02x STATE %7s ", AO_TELEMETRY_VERSION, callsign, recv.telemetry.addr, + recv.telemetry.flight, (int) recv.rssi - 74, recv.status, ao_state_names[state]); printf("%5u a: %5d p: %5d t: %5d v: %5d d: %5d m: %5d " |