Skip to content

Commit

Permalink
AP_Networking: return bug fix
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan <[email protected]>
  • Loading branch information
magicrub and Ryanf55 authored Nov 17, 2023
1 parent cdaa73a commit 33293ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Networking/AP_Networking_port.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 33293ff

Please sign in to comment.