Browse Source

AP_NavEKF: replace header guard with pragma once

mission-4.1.18
Lucas De Marchi 9 years ago committed by Andrew Tridgell
parent
commit
bb0d96cedd
  1. 6
      libraries/AP_NavEKF/AP_NavEKF.h
  2. 6
      libraries/AP_NavEKF/AP_NavEKF_core.h
  3. 6
      libraries/AP_NavEKF/AP_Nav_Common.h

6
libraries/AP_NavEKF/AP_NavEKF.h

@ -17,9 +17,7 @@ @@ -17,9 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef AP_NavEKF
#define AP_NavEKF
#pragma once
#include <AP_Math/AP_Math.h>
#include <AP_InertialSensor/AP_InertialSensor.h>
@ -300,5 +298,3 @@ private: @@ -300,5 +298,3 @@ private:
AP_Int8 _gpsCheck; // Bitmask controlling which preflight GPS checks are bypassed
};
#endif // AP_NavEKF

6
libraries/AP_NavEKF/AP_NavEKF_core.h

@ -17,9 +17,7 @@ @@ -17,9 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef AP_NavEKF_core
#define AP_NavEKF_core
#pragma once
#include <AP_HAL/AP_HAL.h>
#include <AP_NavEKF/AP_NavEKF.h>
@ -875,5 +873,3 @@ private: @@ -875,5 +873,3 @@ private:
// vehicle specific initial gyro bias uncertainty
float InitialGyroBiasUncertainty(void) const;
};
#endif // AP_NavEKF_core

6
libraries/AP_NavEKF/AP_Nav_Common.h

@ -15,9 +15,7 @@ @@ -15,9 +15,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef AP_Nav_Common
#define AP_Nav_Common
#pragma once
union nav_filter_status {
struct {
@ -55,5 +53,3 @@ union nav_gps_status { @@ -55,5 +53,3 @@ union nav_gps_status {
} flags;
uint16_t value;
};
#endif // AP_Nav_Common

Loading…
Cancel
Save