AntennaTracker: replace header guard with pragma once

This commit is contained in:
Lucas De Marchi 2016-02-17 23:25:58 -02:00 committed by Andrew Tridgell
parent 08cc7b2472
commit a503bc74f2
3 changed files with 4 additions and 11 deletions

View File

@ -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

View File

@ -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.

View File

@ -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