mirror of https://github.com/ArduPilot/ardupilot
AP_InertialNav: replace header guard with pragma once
This commit is contained in:
parent
44bc2eceb4
commit
79837c343f
|
@ -1,7 +1,5 @@
|
|||
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
||||
|
||||
#ifndef __AP_INERTIALNAV_H__
|
||||
#define __AP_INERTIALNAV_H__
|
||||
#pragma once
|
||||
|
||||
#include <AP_AHRS/AP_AHRS.h>
|
||||
#include <AP_InertialSensor/AP_InertialSensor.h> // ArduPilot Mega IMU Library
|
||||
|
@ -120,5 +118,3 @@ public:
|
|||
#if AP_AHRS_NAVEKF_AVAILABLE
|
||||
#include "AP_InertialNav_NavEKF.h"
|
||||
#endif
|
||||
|
||||
#endif // __AP_INERTIALNAV_H__
|
||||
|
|
|
@ -5,10 +5,7 @@
|
|||
filter if available, and falls back to the AP_InertialNav filter
|
||||
when EKF is not available
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __AP_INERTIALNAV_NAVEKF_H__
|
||||
#define __AP_INERTIALNAV_NAVEKF_H__
|
||||
#pragma once
|
||||
|
||||
#include <AP_NavEKF/AP_Nav_Common.h> // definitions shared by inertial and ekf nav filters
|
||||
|
||||
|
@ -124,5 +121,3 @@ private:
|
|||
bool _haveabspos;
|
||||
AP_AHRS_NavEKF &_ahrs_ekf;
|
||||
};
|
||||
|
||||
#endif // __AP_INERTIALNAV_NAVEKF_H__
|
||||
|
|
Loading…
Reference in New Issue