mirror of https://github.com/ArduPilot/ardupilot
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)
|
||||
*/
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL || CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||
#include "Socket_native.h"
|
||||
|
||||
#if AP_SOCKET_NATIVE_ENABLED
|
||||
|
@ -9,3 +12,5 @@
|
|||
#define SOCKET_CLASS_NAME SocketAPM_native
|
||||
#include "Socket.cpp"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue