forked from Archive/PX4-Autopilot
PX4IO Firmware: Fall back to S.BUS1 for S.BUS2 requested
This commit is contained in:
parent
ea5293b6fe
commit
649fcd7cc7
|
@ -163,8 +163,8 @@ sbus1_output(uint16_t *values, uint16_t num_values)
|
|||
void
|
||||
sbus2_output(uint16_t *values, uint16_t num_values)
|
||||
{
|
||||
char b = 'B';
|
||||
write(sbus_fd, &b, 1);
|
||||
// XXX S.BUS2 is not implemented, fall back to S.BUS1
|
||||
sbus1_output(values, num_values);
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Reference in New Issue