AP_Mount: tidy Solo defines

This commit is contained in:
Peter Barker 2024-07-18 10:48:29 +10:00 committed by Peter Barker
parent 70729df4c0
commit 16a9e53bdb
2 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,9 @@
#include "AP_Mount_SoloGimbal.h" #include "AP_Mount_config.h"
#if HAL_SOLO_GIMBAL_ENABLED #if HAL_SOLO_GIMBAL_ENABLED
#include "AP_Mount_SoloGimbal.h"
#include "SoloGimbal.h" #include "SoloGimbal.h"
#include <AP_Logger/AP_Logger.h> #include <AP_Logger/AP_Logger.h>
#include <GCS_MAVLink/GCS_MAVLink.h> #include <GCS_MAVLink/GCS_MAVLink.h>

View File

@ -3,18 +3,16 @@
*/ */
#pragma once #pragma once
#include "AP_Mount_config.h"
#include <AP_HAL/AP_HAL.h> #if HAL_SOLO_GIMBAL_ENABLED
#include "AP_Mount_Backend.h" #include "AP_Mount_Backend.h"
#if HAL_SOLO_GIMBAL_ENABLED
#include <AP_Math/AP_Math.h> #include <AP_Math/AP_Math.h>
#include <AP_Common/AP_Common.h> #include <AP_Common/AP_Common.h>
#include <GCS_MAVLink/GCS_MAVLink.h> #include <GCS_MAVLink/GCS_MAVLink.h>
#include <RC_Channel/RC_Channel.h>
#include "SoloGimbal.h" #include "SoloGimbal.h"
class AP_Mount_SoloGimbal : public AP_Mount_Backend class AP_Mount_SoloGimbal : public AP_Mount_Backend
{ {