mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_HAL: socket native fix
This commit is contained in:
parent
34c737de36
commit
1e7ca34531
@ -1,6 +1,9 @@
|
|||||||
/*
|
/*
|
||||||
variant of SocketAPM using native sockets (not via lwip)
|
variant of SocketAPM using native sockets (not via lwip)
|
||||||
*/
|
*/
|
||||||
|
#include <AP_HAL/AP_HAL_Boards.h>
|
||||||
|
|
||||||
|
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL || CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||||
#include "Socket_native.h"
|
#include "Socket_native.h"
|
||||||
|
|
||||||
#if AP_SOCKET_NATIVE_ENABLED
|
#if AP_SOCKET_NATIVE_ENABLED
|
||||||
@ -9,3 +12,5 @@
|
|||||||
#define SOCKET_CLASS_NAME SocketAPM_native
|
#define SOCKET_CLASS_NAME SocketAPM_native
|
||||||
#include "Socket.cpp"
|
#include "Socket.cpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user