From 0beebf5b8659014c5e8ba194e42e5dcd9be1a2a6 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 13 Aug 2011 18:27:02 -0700 Subject: altos-avr: Include serial/flight in companion commands This lets TeleScience log these values so the log can be matched with a suitable TeleMetrum log. Signed-off-by: Keith Packard --- src-avr/ao.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src-avr/ao.h') diff --git a/src-avr/ao.h b/src-avr/ao.h index c5032d16..73725488 100644 --- a/src-avr/ao.h +++ b/src-avr/ao.h @@ -1348,6 +1348,7 @@ ao_rssi_init(uint8_t rssi_led); extern const char ao_version[]; extern const char ao_manufacturer[]; extern const char ao_product[]; +extern const int ao_serial_number; /* * Fifos @@ -1474,8 +1475,12 @@ struct ao_companion_command { uint8_t command; uint8_t flight_state; uint16_t tick; + uint16_t serial; + uint16_t flight; }; +extern struct ao_companion_command ao_companion_command; + struct ao_companion_setup { uint16_t board_id; uint16_t board_id_inverse; -- cgit v1.2.3