mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
HAL_Linux: minor syntax fix in UARTDriver
Typo noticed by @hcervino.
This commit is contained in:
parent
b6baf78e73
commit
8a71fdf092
@ -280,7 +280,7 @@ void LinuxUARTDriver::_tcp_start_connection(bool wait_for_connection)
|
|||||||
|
|
||||||
printf("bind port %u for %u\n",
|
printf("bind port %u for %u\n",
|
||||||
(unsigned)ntohs(sockaddr.sin_port),
|
(unsigned)ntohs(sockaddr.sin_port),
|
||||||
(unsigned)portNumber),
|
(unsigned)portNumber);
|
||||||
|
|
||||||
ret = bind(listen_fd, (struct sockaddr *)&sockaddr, sizeof(sockaddr));
|
ret = bind(listen_fd, (struct sockaddr *)&sockaddr, sizeof(sockaddr));
|
||||||
if (ret == -1) {
|
if (ret == -1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user