Browse Source

AP_EFI: include cleanups

apm_2208
Peter Barker 3 years ago committed by Andrew Tridgell
parent
commit
f9b33317b6
  1. 4
      libraries/AP_EFI/AP_EFI.h
  2. 5
      libraries/AP_EFI/AP_EFI_Serial_Lutan.cpp
  3. 1
      libraries/AP_EFI/AP_EFI_Serial_MS.cpp

4
libraries/AP_EFI/AP_EFI.h

@ -15,11 +15,9 @@ @@ -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

5
libraries/AP_EFI/AP_EFI_Serial_Lutan.cpp

@ -16,9 +16,12 @@ @@ -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;

1
libraries/AP_EFI/AP_EFI_Serial_MS.cpp

@ -17,6 +17,7 @@ @@ -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;

Loading…
Cancel
Save