AP_Camera: move some includes to backend
also remove some redundant includes
This commit is contained in:
parent
82d03e45e0
commit
9c72cf2a1e
@ -4,12 +4,8 @@
|
||||
|
||||
#include <AP_Math/AP_Math.h>
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
#include <GCS_MAVLink/GCS_MAVLink.h>
|
||||
#include <GCS_MAVLink/GCS.h>
|
||||
#include <SRV_Channel/SRV_Channel.h>
|
||||
#include <AP_Logger/AP_Logger.h>
|
||||
#include <AP_GPS/AP_GPS.h>
|
||||
#include <AP_Mount/AP_Mount.h>
|
||||
#include "AP_Camera_Backend.h"
|
||||
#include "AP_Camera_Servo.h"
|
||||
#include "AP_Camera_Relay.h"
|
||||
|
@ -6,12 +6,9 @@
|
||||
|
||||
#if AP_CAMERA_ENABLED
|
||||
|
||||
#include <AP_Common/Location.h>
|
||||
#include <AP_Logger/LogStructure.h>
|
||||
#include <AP_Param/AP_Param.h>
|
||||
#include <GCS_MAVLink/GCS_MAVLink.h>
|
||||
#include "AP_Camera_Params.h"
|
||||
#include "AP_Mount/AP_Mount_config.h"
|
||||
|
||||
#define AP_CAMERA_MAX_INSTANCES 2 // maximum number of camera backends
|
||||
|
||||
|
@ -23,6 +23,8 @@
|
||||
|
||||
#if AP_CAMERA_ENABLED
|
||||
#include "AP_Camera.h"
|
||||
#include <AP_Common/Location.h>
|
||||
#include <AP_Logger/LogStructure.h>
|
||||
|
||||
class AP_Camera_Backend
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user