Skip to content

Commit

Permalink
AP_HAL: squash
Browse files Browse the repository at this point in the history
  • Loading branch information
magicrub committed Nov 12, 2023
1 parent dda1f4d commit 9c1a2d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/AP_HAL/utility/Socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ bool SocketAPM::set_cloexec() const
ssize_t SocketAPM::send(const void *buf, size_t size) const
{
#if AP_NETWORKING_BACKEND_CHIBIOS
return send(fd, buf, size, 0);
return lwip_send(fd, buf, size, 0);
#else
return ::send(fd, buf, size, 0);
#endif
Expand Down
2 changes: 1 addition & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/common/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -1445,7 +1445,7 @@
* (only used if you use sockets.c)
*/
#ifndef LWIP_COMPAT_SOCKETS
#define LWIP_COMPAT_SOCKETS 2
#define LWIP_COMPAT_SOCKETS 1
#endif

/**
Expand Down

0 comments on commit 9c1a2d9

Please sign in to comment.