mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-09 16:41:21 +08:00
AP_HAL_Linux: standardize inclusion of libaries headers
Do the missing header changes due to changing the code before the pr getting accepted.
This commit is contained in:
1 parent
ca17b6155e
commit
dabfeff440
6 files changed
+6
-6
No files matched your search
@@ -2,7 +2,7 @@
|
||||
#define __AP_HAL_LINUX_CONSOLEDEVICE_UDP_H__
|
||||
|
||||
#include "SerialDevice.h"
|
||||
#include "../AP_HAL/utility/Socket.h"
|
||||
#include <AP_HAL/utility/Socket.h>
|
||||
|
||||
class ConsoleDevice: public SerialDevice {
|
||||
public:
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <cstdio>
|
||||
#include "SPIUARTDriver.h"
|
||||
#include "../AP_HAL/utility/RingBuffer.h"
|
||||
#include <AP_HAL/utility/RingBuffer.h>
|
||||
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define __AP_HAL_LINUX_TCPCLIENTDEVICE_H__
|
||||
|
||||
#include "SerialDevice.h"
|
||||
#include "../AP_HAL/utility/Socket.h"
|
||||
#include <AP_HAL/utility/Socket.h>
|
||||
|
||||
class TCPServerDevice: public SerialDevice {
|
||||
public:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define __AP_HAL_LINUX_UARTDEVICE_UDP_H__
|
||||
|
||||
#include "SerialDevice.h"
|
||||
#include "../AP_HAL/utility/Socket.h"
|
||||
#include <AP_HAL/utility/Socket.h>
|
||||
|
||||
class UARTDevice: public SerialDevice {
|
||||
public:
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include <netinet/tcp.h>
|
||||
#include <string.h>
|
||||
#include <arpa/inet.h>
|
||||
#include "../AP_HAL/utility/RingBuffer.h"
|
||||
#include <AP_HAL/utility/RingBuffer.h>
|
||||
|
||||
#include "UARTDevice.h"
|
||||
#include "UDPDevice.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define __AP_HAL_LINUX_UDPDEVICE_UDP_H__
|
||||
|
||||
#include "SerialDevice.h"
|
||||
#include "../AP_HAL/utility/Socket.h"
|
||||
#include <AP_HAL/utility/Socket.h>
|
||||
|
||||
class UDPDevice: public SerialDevice {
|
||||
public:
|
||||
|
||||
Reference in new issue
Block a user