AP_Common: clean includes up in Location.h

This commit is contained in:
Peter Barker 2019-04-12 09:38:17 +10:00 committed by Andrew Tridgell
parent f66f36287e
commit 2352dd3f12
2 changed files with 1 additions and 15 deletions

View File

@ -7,8 +7,6 @@
#include <AP_AHRS/AP_AHRS.h>
#include <AP_Terrain/AP_Terrain.h>
extern const AP_HAL::HAL& hal;
AP_Terrain *Location::_terrain = nullptr;
/// constructors

View File

@ -1,17 +1,7 @@
/*
* Location.h
*
*/
#pragma once
#ifndef LOCATION_H
#define LOCATION_H
#include <AP_Common/AP_Common.h>
#include <AP_Math/AP_Math.h>
#include <AP_HAL/AP_HAL.h>
class AP_AHRS_NavEKF;
class AP_Terrain;
#define LOCATION_ALT_MAX_M 83000 // maximum altitude (in meters) that can be fit into Location structure's alt field
@ -111,5 +101,3 @@ public:
private:
static AP_Terrain *_terrain;
};
#endif /* LOCATION_H */