AP_HAL_SITL: increase debug for SIM connections

This commit is contained in:
Peter Barker 2018-06-29 22:59:05 +10:00 committed by Peter Barker
parent 90601c80e9
commit be19ae41d4
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ void UARTDriver::begin(uint32_t baud, uint16_t rxSpace, uint16_t txSpace)
_uart_baudrate = baudrate; _uart_baudrate = baudrate;
_uart_start_connection(); _uart_start_connection();
} else if (strcmp(devtype, "sim") == 0) { } else if (strcmp(devtype, "sim") == 0) {
::printf("SIM connection %s:%s\n", args1, args2); ::printf("SIM connection %s:%s on port %u\n", args1, args2, _portNumber);
if (!_connected) { if (!_connected) {
_connected = true; _connected = true;
_fd = _sitlState->sim_fd(args1, args2); _fd = _sitlState->sim_fd(args1, args2);