Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Radio control via two SBUS receivers. More...
#include "modules/radio_control/sbus_common.h"
Go to the source code of this file.
Functions | |
void | sbus_dual_init (void) |
RC init function. More... | |
void | sbus_dual_event (void) |
RC event function. More... | |
Variables | |
struct Sbus sbus1 | sbus2 |
SBUS struct. More... | |
Radio control via two SBUS receivers.
Definition in file sbus_dual.h.
void sbus_dual_event | ( | void | ) |
RC event function.
Definition at line 82 of file sbus_dual.c.
References Sbus::frame_available, RadioControl::frame_cpt, Sbus::pulses, radio_control, RADIO_CONTROL_SBUS_DUAL_ID, RadioControl::radio_ok_cpt, RC_OK, sbus2, sbus_dual_decode_event(), RadioControl::status, and RadioControl::time_since_last_frame.
void sbus_dual_init | ( | void | ) |
RC init function.
Definition at line 64 of file sbus_dual.c.
References DefaultPeriodic, RadioControl::nb_channel, radio_control, RC2_POLARITY_GPIO_PIN, RC2_POLARITY_GPIO_PORT, RC_POLARITY_GPIO_PIN, RC_POLARITY_GPIO_PORT, register_periodic_telemetry(), sbus2, sbus_common_init(), SBUS_NB_CHANNEL, and send_sbus().
|
extern |
SBUS struct.
Definition at line 1 of file sbus_dual.c.
Referenced by sbus_dual_decode_event(), sbus_dual_event(), and sbus_dual_init().