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 -*-
|
// -*- 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>
|
||||||
|
|
||||||
|
@ -163,5 +161,3 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
extern const AP_Param::Info var_info[];
|
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 -*-
|
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
||||||
//
|
//
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include "defines.h"
|
#include "defines.h"
|
||||||
|
|
||||||
#include "APM_Config.h" // <== THIS INCLUDE, DO NOT EDIT IT. EVER.
|
#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 -*-
|
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
||||||
|
#pragma once
|
||||||
#ifndef _DEFINES_H
|
|
||||||
#define _DEFINES_H
|
|
||||||
|
|
||||||
// Command/Waypoint/Location Options Bitmask
|
// Command/Waypoint/Location Options Bitmask
|
||||||
//--------------------
|
//--------------------
|
||||||
|
@ -34,6 +32,3 @@ enum ServoType {
|
||||||
#define MASK_LOG_RCOUT (1<<4)
|
#define MASK_LOG_RCOUT (1<<4)
|
||||||
#define MASK_LOG_COMPASS (1<<5)
|
#define MASK_LOG_COMPASS (1<<5)
|
||||||
#define MASK_LOG_ANY 0xFFFF
|
#define MASK_LOG_ANY 0xFFFF
|
||||||
|
|
||||||
#endif // _DEFINES_H
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue