mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
PID: replace header guard with pragma once
This commit is contained in:
parent
c2b5ad46b4
commit
96c30aea39
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user