PX4IO Firmware: Fall back to S.BUS1 for S.BUS2 requested

This commit is contained in:
Lorenz Meier 2015-02-21 01:18:36 +01:00
parent ea5293b6fe
commit 649fcd7cc7
1 changed files with 2 additions and 2 deletions

View File

@ -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