summaryrefslogtreecommitdiff
path: root/src-avr/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-13 18:27:02 -0700
committerKeith Packard <keithp@keithp.com>2011-08-13 18:27:02 -0700
commit0beebf5b8659014c5e8ba194e42e5dcd9be1a2a6 (patch)
tree55288ec5f4b2243c12769f8266166e876132d50e /src-avr/ao.h
parent28a6127668a333f5d6a6234e2ee4527267c459d2 (diff)
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 <keithp@keithp.com>
Diffstat (limited to 'src-avr/ao.h')
-rw-r--r--src-avr/ao.h5
1 files changed, 5 insertions, 0 deletions
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;