32 #define RC_DL_NB_CHANNEL 5
41 #define RADIO_THROTTLE 3
void rc_datalink_parse_RC_4CH(uint8_t *buf)
void rc_datalink_init(void)
RC init function.
void parse_rc_3ch_datalink(uint8_t throttle_mode, int8_t roll, int8_t pitch)
Decode datalink message to get rc values with RC_3CH message Mode and throttle are merge in the same ...
int8_t rc_dl_values[RC_DL_NB_CHANNEL]
void rc_datalink_parse_RC_3CH(uint8_t *buf)
void parse_rc_4ch_datalink(uint8_t mode, uint8_t throttle, int8_t roll, int8_t pitch, int8_t yaw)
Decode datalink message to get rc values with RC_4CH message.
volatile bool rc_dl_frame_available
void rc_datalink_event(void)
RC event function.
static uint8_t mode
mode holds the current sonar mode mode = 0 used at high altitude, uses 16 wave patterns mode = 1 used...
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
signed char int8_t
Typedef defining 8 bit char type.