mirror of https://github.com/ArduPilot/ardupilot
ArduPlane: replace header guard with pragma once
This commit is contained in:
parent
e88ba38595
commit
e01d49ff53
|
@ -1,7 +1,5 @@
|
|||
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
||||
|
||||
#ifndef PARAMETERS_H
|
||||
#define PARAMETERS_H
|
||||
#pragma once
|
||||
|
||||
#include <AP_Common/AP_Common.h>
|
||||
|
||||
|
@ -552,5 +550,3 @@ public:
|
|||
};
|
||||
|
||||
extern const AP_Param::Info var_info[];
|
||||
|
||||
#endif // PARAMETERS_H
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
||||
|
||||
#ifndef _PLANE_H
|
||||
#define _PLANE_H
|
||||
#pragma once
|
||||
|
||||
#define THISFIRMWARE "ArduPlane V3.5.0"
|
||||
#define FIRMWARE_VERSION 3,5,0,FIRMWARE_VERSION_TYPE_OFFICIAL
|
||||
|
@ -1067,5 +1065,3 @@ extern Plane plane;
|
|||
|
||||
using AP_HAL::millis;
|
||||
using AP_HAL::micros;
|
||||
|
||||
#endif // _PLANE_H_
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
//
|
||||
// - Try to keep this file organised in the same order as APM_Config.h.example
|
||||
//
|
||||
#pragma once
|
||||
|
||||
#include "defines.h"
|
||||
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
||||
|
||||
#ifndef _DEFINES_H
|
||||
#define _DEFINES_H
|
||||
#pragma once
|
||||
|
||||
// Internal defines, don't edit and expect things to work
|
||||
// -------------------------------------------------------
|
||||
|
@ -207,5 +205,3 @@ enum {
|
|||
USE_REVERSE_THRUST_FBWB = (1<<9),
|
||||
USE_REVERSE_THRUST_GUIDED = (1<<10),
|
||||
};
|
||||
|
||||
#endif // _DEFINES_H
|
||||
|
|
Loading…
Reference in New Issue