mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
HAL_Linux: replace recvfrom with recv
This commit is contained in:
parent
a48f0db405
commit
bd1b35804a
@ -24,7 +24,7 @@ ssize_t UDPDevice::write(const uint8_t *buf, uint16_t n)
|
||||
|
||||
ssize_t UDPDevice::read(uint8_t *buf, uint16_t n)
|
||||
{
|
||||
return socket.recvfrom(buf, n, 0);
|
||||
return socket.recv(buf, n, 0);
|
||||
}
|
||||
|
||||
bool UDPDevice::open()
|
||||
|
Loading…
Reference in New Issue
Block a user