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

This commit is contained in:
Lorenz Meier
2015-03-15 17:39:43 +01:00
parent ea5293b6fe
commit 649fcd7cc7
+2 -2
View File
@@ -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