SBUS on Linux: replace termios with termios2 and add UNKNOWN UART WQ

This commit is contained in:
SalimTerryLi
2020-02-03 03:06:27 +08:00
committed by GitHub
parent c8a58c5c9d
commit e0abe7090e
3 changed files with 45 additions and 59 deletions
@@ -196,9 +196,9 @@ serial_port_to_wq(const char *serial)
return wq_configurations::UART8;
}
PX4_ERR("unknown serial port: %s", serial);
PX4_DEBUG("unknown serial port: %s", serial);
return wq_configurations::hp_default;
return wq_configurations::UART_UNKNOWN;
}
static void *