AC_InputManager: replace header guard with pragma once

This commit is contained in:
Lucas De Marchi 2016-02-17 23:25:08 -02:00 committed by Andrew Tridgell
parent 7dc3942ad4
commit 498693d0b8
2 changed files with 2 additions and 10 deletions

View File

@ -1,11 +1,9 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#pragma once
/// @file AC_InputManager.h
/// @brief Pilot manual control input library
#ifndef AC_INPUTMANAGER_H
#define AC_INPUTMANAGER_H
#include <AP_Common/AP_Common.h>
#include <AP_Param/AP_Param.h>
#include <AP_Math/AP_Math.h>
@ -29,5 +27,3 @@ protected:
uint16_t _loop_rate; // rate at which output() function is called (normally 400hz)
};
#endif /* AC_INPUTMANAGER_H */

View File

@ -1,11 +1,9 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#pragma once
/// @file AC_InputManager_Heli.h
/// @brief Pilot manual control input library for Conventional Helicopter
#ifndef AC_INPUTMANAGER_HELI_H
#define AC_INPUTMANAGER_HELI_H
#include <AP_Param/AP_Param.h>
#include <AP_Common/AP_Common.h>
#include "AC_InputManager.h"
@ -54,5 +52,3 @@ private:
AP_Float _acro_col_expo; // used to soften collective pitch inputs near center point in Acro mode
};
#endif /* AC_INPUTMANAGER_HELI_H */