APM_Control: replace header guard with pragma once

This commit is contained in:
Lucas De Marchi 2016-02-17 23:25:34 -02:00 committed by Andrew Tridgell
parent b4a8a0b961
commit 382b6f87fe
5 changed files with 5 additions and 26 deletions

View File

@ -1,7 +1,5 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#ifndef __AP_AUTOTUNE_H__
#define __AP_AUTOTUNE_H__
#pragma once
#include <AP_HAL/AP_HAL.h>
#include <AP_Param/AP_Param.h>
@ -100,6 +98,3 @@ private:
void save_float_if_changed(AP_Float &v, float value, const char *suffix);
void save_int16_if_changed(AP_Int16 &v, int16_t value, const char *suffix);
};
#endif // __AP_AUTOTUNE_H__

View File

@ -1,7 +1,5 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#ifndef __AP_PITCH_CONTROLLER_H__
#define __AP_PITCH_CONTROLLER_H__
#pragma once
#include <AP_AHRS/AP_AHRS.h>
#include <AP_Common/AP_Common.h>
@ -49,5 +47,3 @@ private:
AP_AHRS &_ahrs;
};
#endif // __AP_PITCH_CONTROLLER_H__

View File

@ -1,7 +1,5 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#ifndef __AP_ROLL_CONTROLLER_H__
#define __AP_ROLL_CONTROLLER_H__
#pragma once
#include <AP_AHRS/AP_AHRS.h>
#include <AP_Common/AP_Common.h>
@ -46,5 +44,3 @@ private:
AP_AHRS &_ahrs;
};
#endif // __AP_ROLL_CONTROLLER_H__

View File

@ -1,7 +1,5 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#ifndef __AP_STEER_CONTROLLER_H__
#define __AP_STEER_CONTROLLER_H__
#pragma once
#include <AP_AHRS/AP_AHRS.h>
#include <AP_Common/AP_Common.h>
@ -62,5 +60,3 @@ private:
AP_AHRS &_ahrs;
};
#endif // __AP_STEER_CONTROLLER_H__

View File

@ -1,7 +1,5 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#ifndef __AP_YAW_CONTROLLER_H__
#define __AP_YAW_CONTROLLER_H__
#pragma once
#include <AP_AHRS/AP_AHRS.h>
#include <AP_Common/AP_Common.h>
@ -49,5 +47,3 @@ private:
AP_AHRS &_ahrs;
};
#endif // __AP_YAW_CONTROLLER_H__