32 #define RC_DL_NB_CHANNEL 5
33 #define RADIO_CONTROL_NB_CHANNEL RC_DL_NB_CHANNEL
42 #define RADIO_THROTTLE 3
75 #define RadioControlEvent(_received_frame_handler) radio_control_impl_event(_received_frame_handler)
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 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 ...
void radio_control_impl_event(void(*_received_frame_handler)(void))
RC event function with handler callback.
static uint8_t mode
mode holds the current sonar mode mode = 0 used at high altitude, uses 16 wave patterns mode = 1 used...
int8_t rc_dl_values[RC_DL_NB_CHANNEL]