Browse Source

HAL_Linux: minor syntax fix in UARTDriver

Typo noticed by @hcervino.
mission-4.1.18
Victor Mayoral Vilches 11 years ago committed by Andrew Tridgell
parent
commit
8a71fdf092
  1. 2
      libraries/AP_HAL_Linux/UARTDriver.cpp

2
libraries/AP_HAL_Linux/UARTDriver.cpp

@ -280,7 +280,7 @@ void LinuxUARTDriver::_tcp_start_connection(bool wait_for_connection) @@ -280,7 +280,7 @@ void LinuxUARTDriver::_tcp_start_connection(bool wait_for_connection)
printf("bind port %u for %u\n",
(unsigned)ntohs(sockaddr.sin_port),
(unsigned)portNumber),
(unsigned)portNumber);
ret = bind(listen_fd, (struct sockaddr *)&sockaddr, sizeof(sockaddr));
if (ret == -1) {

Loading…
Cancel
Save