mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 18:43:34 +08:00
PX4IO Firmware: Fall back to S.BUS1 for S.BUS2 requested
This commit is contained in:
@@ -163,8 +163,8 @@ sbus1_output(uint16_t *values, uint16_t num_values)
|
|||||||
void
|
void
|
||||||
sbus2_output(uint16_t *values, uint16_t num_values)
|
sbus2_output(uint16_t *values, uint16_t num_values)
|
||||||
{
|
{
|
||||||
char b = 'B';
|
// XXX S.BUS2 is not implemented, fall back to S.BUS1
|
||||||
write(sbus_fd, &b, 1);
|
sbus1_output(values, num_values);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|||||||
Reference in New Issue
Block a user