PID: replace header guard with pragma once

This commit is contained in:
Lucas De Marchi 2016-02-17 23:25:56 -02:00 committed by Andrew Tridgell
parent c2b5ad46b4
commit 96c30aea39

View File

@ -2,9 +2,7 @@
/// @file PID.h /// @file PID.h
/// @brief Generic PID algorithm, with EEPROM-backed storage of constants. /// @brief Generic PID algorithm, with EEPROM-backed storage of constants.
#pragma once
#ifndef __PID_H__
#define __PID_H__
#include <AP_Common/AP_Common.h> #include <AP_Common/AP_Common.h>
#include <AP_Param/AP_Param.h> #include <AP_Param/AP_Param.h>
@ -120,5 +118,3 @@ private:
/// ///
static const uint8_t _fCut = 20; static const uint8_t _fCut = 20;
}; };
#endif