AP_SerialManager: fix includes place and order

This commit is contained in:
Pierre Kancir 2019-03-23 02:21:52 +01:00 committed by Andrew Tridgell
parent e3830d3ca4
commit 231e684d96
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -21,10 +21,9 @@
*/
#pragma once
#include <AP_Math/AP_Math.h>
#include <AP_Common/AP_Common.h>
#include <AP_HAL/AP_HAL.h>
#include <GCS_MAVLink/GCS_MAVLink.h>
#include <AP_Param/AP_Param.h>
// we have hal.uartA to hal.uartG
#define SERIALMANAGER_NUM_PORTS 7