1 #define FPPROTO_MAX_SERVOS 16
2 #define FPPROTO_MAX_BANKS 4
3 #define FPPROTO_MAX_RCCHANS 10
4 #define FPPROTO_MAX_ADCCHANS 4
8 #define FLYINGPICMD_ACTUATOR 0xfc
9 #define FLYINGPICMD_CFG 0xfa
10 #define FLYINGPIRESP_IO 0x10
struct flyingpicmd_actuator_fc __attribute__((__packed__))
uint16_t valid_messages_recvd
uint16_t adc_data[FPPROTO_MAX_ADCCHANS]
uint16_t values[FPPROTO_MAX_SERVOS]
#define FPPROTO_MAX_ADCCHANS
#define FLYINGPICMD_ACTUATOR
struct flyingpiresp_io_10 io_10
struct flyingpicmd_actuator_fc actuator_fc
uint16_t receiver_protocol
uint16_t rate[FPPROTO_MAX_BANKS]
#define FPPROTO_MAX_BANKS
#define FPPROTO_MAX_SERVOS
union flyingpi_msg::@17 body
uint8_t PIOS_CRC_updateCRC(uint8_t crc, const uint8_t *data, int32_t length)
Update a CRC with a data buffer.
struct flyingpicmd_cfg_fa cfg_fa
#define FPPROTO_MAX_RCCHANS
uint16_t chan_data[FPPROTO_MAX_RCCHANS]
static bool flyingpi_calc_crc(struct flyingpi_msg *msg, bool fill_in, int *total_len)
struct flyingpicmd_cfg_fa::@15 actuators[FPPROTO_MAX_SERVOS]