mirror of https://github.com/ArduPilot/ardupilot
AP_CANManager: remove GCS.h from library header files
This commit is contained in:
parent
771878be0e
commit
23dd4f54df
|
@ -30,7 +30,7 @@
|
|||
#include <AP_PiccoloCAN/AP_PiccoloCAN.h>
|
||||
#include <AP_EFI/AP_EFI_NWPMU.h>
|
||||
#include "AP_CANTester.h"
|
||||
#include <GCS_MAVLink/GCS_MAVLink.h>
|
||||
#include <GCS_MAVLink/GCS.h>
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||
#include <AP_HAL_Linux/CANSocketIface.h>
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
|
|
|
@ -24,7 +24,10 @@
|
|||
#include <AP_Param/AP_Param.h>
|
||||
#include "AP_SLCANIface.h"
|
||||
#include "AP_CANDriver.h"
|
||||
#include <GCS_MAVLink/GCS.h>
|
||||
#include <GCS_MAVLink/GCS_config.h>
|
||||
#if HAL_GCS_ENABLED
|
||||
#include <GCS_MAVLink/GCS_MAVLink.h>
|
||||
#endif
|
||||
|
||||
class AP_CANManager
|
||||
{
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include <AP_Math/AP_Math.h>
|
||||
#include <AP_HAL/utility/sparse-endian.h>
|
||||
#include <AP_Vehicle/AP_Vehicle_Type.h>
|
||||
#include <GCS_MAVLink/GCS.h>
|
||||
|
||||
#define debug_can(level_debug, fmt, args...) do { AP::can().log_text(level_debug, "TestKDECAN", fmt, ##args); } while (0)
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include <AP_SerialManager/AP_SerialManager.h>
|
||||
#include <stdio.h>
|
||||
#include <AP_Vehicle/AP_Vehicle_Type.h>
|
||||
#include <GCS_MAVLink/GCS.h>
|
||||
|
||||
#define LOG_TAG "SLCAN"
|
||||
|
||||
|
|
Loading…
Reference in New Issue