projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: TELEMETRY PROTOCOL CHANGE. Switch to 16-bit serial numbers.
[fw/altos]
/
src
/
ao_monitor.c
diff --git
a/src/ao_monitor.c
b/src/ao_monitor.c
index 1e7f5102f09676509e624d555bf9fe7eb54c9df0..4ba3da6d848949b27e31495bbde9af68fb56c9eb 100644
(file)
--- a/
src/ao_monitor.c
+++ b/
src/ao_monitor.c
@@
-41,10
+41,10
@@
ao_monitor(void)
if (state > ao_flight_invalid)
state = ao_flight_invalid;
if (recv.status & PKT_APPEND_STATUS_1_CRC_OK) {
if (state > ao_flight_invalid)
state = ao_flight_invalid;
if (recv.status & PKT_APPEND_STATUS_1_CRC_OK) {
- printf("VERSION %d CALL %s SERIAL %
3
d FLIGHT %5u RSSI %4d STATUS %02x STATE %7s ",
+ printf("VERSION %d CALL %s SERIAL %d FLIGHT %5u RSSI %4d STATUS %02x STATE %7s ",
AO_TELEMETRY_VERSION,
callsign,
AO_TELEMETRY_VERSION,
callsign,
- recv.telemetry.
addr
,
+ recv.telemetry.
serial
,
recv.telemetry.flight,
rssi, recv.status,
ao_state_names[state]);
recv.telemetry.flight,
rssi, recv.status,
ao_state_names[state]);