X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src-avr%2Fao.h;h=73725488fb699ac100ec6a131ae3df38eb67c56a;hb=0beebf5b8659014c5e8ba194e42e5dcd9be1a2a6;hp=c5032d16fe8ad5fc51d092a8b6ad5c233320c3e4;hpb=28a6127668a333f5d6a6234e2ee4527267c459d2;p=fw%2Faltos 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;