AP_EFI: include cleanups

This commit is contained in:
Peter Barker 2022-02-25 16:06:28 +11:00 committed by Andrew Tridgell
parent 7d3f3b6888
commit f9b33317b6
3 changed files with 6 additions and 4 deletions

View File

@ -15,11 +15,9 @@
#pragma once
#include <AP_Common/AP_Common.h>
#include <AP_Param/AP_Param.h>
#include <GCS_MAVLink/GCS.h>
#include <GCS_MAVLink/GCS_MAVLink.h>
#ifndef HAL_EFI_ENABLED
#define HAL_EFI_ENABLED !HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024

View File

@ -16,9 +16,12 @@
#include <AP_HAL/AP_HAL.h>
#include "AP_EFI_Serial_Lutan.h"
#include <AP_HAL/utility/sparse-endian.h>
#include <stdio.h>
#if HAL_EFI_ENABLED
#include <stdio.h>
#include <AP_Math/AP_Math.h>
#include <AP_SerialManager/AP_SerialManager.h>
extern const AP_HAL::HAL &hal;

View File

@ -17,6 +17,7 @@
#include "AP_EFI_Serial_MS.h"
#if HAL_EFI_ENABLED
#include <AP_Math/AP_Math.h>
#include <AP_SerialManager/AP_SerialManager.h>
extern const AP_HAL::HAL &hal;