mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
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…
x
Reference in New Issue
Block a user