mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_RCTelemetry: tidy includes
This commit is contained in:
parent
50fc43b2d2
commit
0e8ac68af4
@ -14,7 +14,6 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <AP_HAL/AP_HAL.h>
|
|
||||||
#include <AP_HAL/AP_HAL_Boards.h>
|
#include <AP_HAL/AP_HAL_Boards.h>
|
||||||
#include <AP_OSD/AP_OSD.h>
|
#include <AP_OSD/AP_OSD.h>
|
||||||
|
|
||||||
@ -28,9 +27,6 @@
|
|||||||
|
|
||||||
#if HAL_CRSF_TELEM_ENABLED
|
#if HAL_CRSF_TELEM_ENABLED
|
||||||
|
|
||||||
#include <AP_Notify/AP_Notify.h>
|
|
||||||
#include <AP_SerialManager/AP_SerialManager.h>
|
|
||||||
#include <AP_HAL/utility/RingBuffer.h>
|
|
||||||
#include <AP_RCProtocol/AP_RCProtocol_CRSF.h>
|
#include <AP_RCProtocol/AP_RCProtocol_CRSF.h>
|
||||||
#include "AP_RCTelemetry.h"
|
#include "AP_RCTelemetry.h"
|
||||||
#include <AP_HAL/utility/sparse-endian.h>
|
#include <AP_HAL/utility/sparse-endian.h>
|
||||||
|
@ -14,10 +14,10 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <AP_HAL/AP_HAL.h>
|
#include <AP_HAL/Semaphores.h>
|
||||||
#include <AP_Notify/AP_Notify.h>
|
|
||||||
#include <AP_HAL/utility/RingBuffer.h>
|
#include <AP_HAL/utility/RingBuffer.h>
|
||||||
#include <AP_Math/AP_Math.h>
|
#include <AP_Math/AP_Math.h>
|
||||||
|
#include <GCS_MAVLink/GCS_MAVLink.h>
|
||||||
|
|
||||||
#define TELEM_PAYLOAD_STATUS_CAPACITY 5 // size of the message buffer queue (max number of messages waiting to be sent)
|
#define TELEM_PAYLOAD_STATUS_CAPACITY 5 // size of the message buffer queue (max number of messages waiting to be sent)
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <AP_HAL/AP_HAL.h>
|
#include <AP_HAL/AP_HAL_Boards.h>
|
||||||
|
|
||||||
#ifndef HAL_SPEKTRUM_TELEM_ENABLED
|
#ifndef HAL_SPEKTRUM_TELEM_ENABLED
|
||||||
#define HAL_SPEKTRUM_TELEM_ENABLED !HAL_MINIMIZE_FEATURES
|
#define HAL_SPEKTRUM_TELEM_ENABLED !HAL_MINIMIZE_FEATURES
|
||||||
@ -22,7 +22,6 @@
|
|||||||
|
|
||||||
#if HAL_SPEKTRUM_TELEM_ENABLED
|
#if HAL_SPEKTRUM_TELEM_ENABLED
|
||||||
|
|
||||||
#include <AP_Notify/AP_Notify.h>
|
|
||||||
#include <AP_SerialManager/AP_SerialManager.h>
|
#include <AP_SerialManager/AP_SerialManager.h>
|
||||||
#include <AP_HAL/utility/RingBuffer.h>
|
#include <AP_HAL/utility/RingBuffer.h>
|
||||||
#include "AP_RCTelemetry.h"
|
#include "AP_RCTelemetry.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user