mirror of https://github.com/ArduPilot/ardupilot
AntennaTracker: replace header guard with pragma once
This commit is contained in:
parent
08cc7b2472
commit
a503bc74f2
|
@ -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>
|
||||
|
||||
|
@ -163,5 +161,3 @@ public:
|
|||
};
|
||||
|
||||
extern const AP_Param::Info var_info[];
|
||||
|
||||
#endif // PARAMETERS_H
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
||||
//
|
||||
#pragma once
|
||||
|
||||
#include "defines.h"
|
||||
|
||||
#include "APM_Config.h" // <== THIS INCLUDE, DO NOT EDIT IT. EVER.
|
||||
|
|
|
@ -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
|
||||
|
||||
// Command/Waypoint/Location Options Bitmask
|
||||
//--------------------
|
||||
|
@ -34,6 +32,3 @@ enum ServoType {
|
|||
#define MASK_LOG_RCOUT (1<<4)
|
||||
#define MASK_LOG_COMPASS (1<<5)
|
||||
#define MASK_LOG_ANY 0xFFFF
|
||||
|
||||
#endif // _DEFINES_H
|
||||
|
||||
|
|
Loading…
Reference in New Issue