mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
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 -*-
|
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
||||||
|
#pragma once
|
||||||
#ifndef PARAMETERS_H
|
|
||||||
#define PARAMETERS_H
|
|
||||||
|
|
||||||
#include <AP_Common/AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
|
|
||||||
@ -552,5 +550,3 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
extern const AP_Param::Info var_info[];
|
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 -*-
|
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
||||||
|
#pragma once
|
||||||
#ifndef _PLANE_H
|
|
||||||
#define _PLANE_H
|
|
||||||
|
|
||||||
#define THISFIRMWARE "ArduPlane V3.5.0"
|
#define THISFIRMWARE "ArduPlane V3.5.0"
|
||||||
#define FIRMWARE_VERSION 3,5,0,FIRMWARE_VERSION_TYPE_OFFICIAL
|
#define FIRMWARE_VERSION 3,5,0,FIRMWARE_VERSION_TYPE_OFFICIAL
|
||||||
@ -1067,5 +1065,3 @@ extern Plane plane;
|
|||||||
|
|
||||||
using AP_HAL::millis;
|
using AP_HAL::millis;
|
||||||
using AP_HAL::micros;
|
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
|
// - Try to keep this file organised in the same order as APM_Config.h.example
|
||||||
//
|
//
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include "defines.h"
|
#include "defines.h"
|
||||||
|
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
||||||
|
#pragma once
|
||||||
#ifndef _DEFINES_H
|
|
||||||
#define _DEFINES_H
|
|
||||||
|
|
||||||
// Internal defines, don't edit and expect things to work
|
// Internal defines, don't edit and expect things to work
|
||||||
// -------------------------------------------------------
|
// -------------------------------------------------------
|
||||||
@ -207,5 +205,3 @@ enum {
|
|||||||
USE_REVERSE_THRUST_FBWB = (1<<9),
|
USE_REVERSE_THRUST_FBWB = (1<<9),
|
||||||
USE_REVERSE_THRUST_GUIDED = (1<<10),
|
USE_REVERSE_THRUST_GUIDED = (1<<10),
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // _DEFINES_H
|
|
||||||
|
Loading…
Reference in New Issue
Block a user