mirror of https://github.com/ArduPilot/ardupilot
AP_IRLock: use SocketAPM_native
This commit is contained in:
parent
69df468b88
commit
f8d64afc69
|
@ -6,7 +6,7 @@
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <AP_HAL/utility/Socket.h>
|
#include <AP_HAL/utility/Socket_native.h>
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||||
#include "IRLock.h"
|
#include "IRLock.h"
|
||||||
|
|
||||||
|
@ -24,6 +24,6 @@ public:
|
||||||
private:
|
private:
|
||||||
|
|
||||||
uint32_t _last_timestamp;
|
uint32_t _last_timestamp;
|
||||||
SocketAPM sock;
|
SocketAPM_native sock;
|
||||||
};
|
};
|
||||||
#endif // CONFIG_HAL_BOARD
|
#endif // CONFIG_HAL_BOARD
|
||||||
|
|
Loading…
Reference in New Issue