Browse Source

AP_Common: clean includes up in Location.h

master
Peter Barker 6 years ago committed by Andrew Tridgell
parent
commit
2352dd3f12
  1. 2
      libraries/AP_Common/Location.cpp
  2. 14
      libraries/AP_Common/Location.h

2
libraries/AP_Common/Location.cpp

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

14
libraries/AP_Common/Location.h

@ -1,17 +1,7 @@ @@ -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: @@ -111,5 +101,3 @@ public:
private:
static AP_Terrain *_terrain;
};
#endif /* LOCATION_H */

Loading…
Cancel
Save