projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos-avr: Include serial/flight in companion commands
[fw/altos]
/
src-avr
/
ao.h
diff --git
a/src-avr/ao.h
b/src-avr/ao.h
index c5032d16fe8ad5fc51d092a8b6ad5c233320c3e4..73725488fb699ac100ec6a131ae3df38eb67c56a 100644
(file)
--- 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 char ao_version[];
extern const char ao_manufacturer[];
extern const char ao_product[];
+extern const int ao_serial_number;
/*
* Fifos
/*
* Fifos
@@
-1474,8
+1475,12
@@
struct ao_companion_command {
uint8_t command;
uint8_t flight_state;
uint16_t tick;
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;
struct ao_companion_setup {
uint16_t board_id;
uint16_t board_id_inverse;