Browse Source

APM_Control: replace header guard with pragma once

master
Lucas De Marchi 9 years ago committed by Andrew Tridgell
parent
commit
382b6f87fe
  1. 7
      libraries/APM_Control/AP_AutoTune.h
  2. 6
      libraries/APM_Control/AP_PitchController.h
  3. 6
      libraries/APM_Control/AP_RollController.h
  4. 6
      libraries/APM_Control/AP_SteerController.h
  5. 6
      libraries/APM_Control/AP_YawController.h

7
libraries/APM_Control/AP_AutoTune.h

@ -1,7 +1,5 @@ @@ -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: @@ -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__

6
libraries/APM_Control/AP_PitchController.h

@ -1,7 +1,5 @@ @@ -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: @@ -49,5 +47,3 @@ private:
AP_AHRS &_ahrs;
};
#endif // __AP_PITCH_CONTROLLER_H__

6
libraries/APM_Control/AP_RollController.h

@ -1,7 +1,5 @@ @@ -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: @@ -46,5 +44,3 @@ private:
AP_AHRS &_ahrs;
};
#endif // __AP_ROLL_CONTROLLER_H__

6
libraries/APM_Control/AP_SteerController.h

@ -1,7 +1,5 @@ @@ -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: @@ -62,5 +60,3 @@ private:
AP_AHRS &_ahrs;
};
#endif // __AP_STEER_CONTROLLER_H__

6
libraries/APM_Control/AP_YawController.h

@ -1,7 +1,5 @@ @@ -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: @@ -49,5 +47,3 @@ private:
AP_AHRS &_ahrs;
};
#endif // __AP_YAW_CONTROLLER_H__

Loading…
Cancel
Save