mirror of https://github.com/ArduPilot/ardupilot
AP_Networking: return bug fix
Co-authored-by: Ryan <ryanfriedman5410+github@gmail.com>
This commit is contained in:
parent
fcf602cbe2
commit
3b35915774
|
@ -79,7 +79,7 @@ void AP_Networking::Port::udp_client_init(const uint32_t size_rx, const uint32_t
|
|||
return;
|
||||
}
|
||||
if (sock != nullptr) {
|
||||
return false;
|
||||
return;
|
||||
}
|
||||
sock = new SocketAPM(true);
|
||||
if (sock == nullptr) {
|
||||
|
|
Loading…
Reference in New Issue