AP_Motors: Remove double underscore header guard

The code now uses `#pragma once` and double underscore as a prefix
can result in undefined behaviour.
Ref: https://eel.is/c++draft/lex.name#3.1

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
Patrick José Pereira 2020-07-02 08:28:05 -03:00 committed by Peter Barker
parent 96e500fe49
commit 8bb74a12d0
1 changed files with 1 additions and 4 deletions

View File

@ -2,8 +2,7 @@
/// @brief Motor control class for dual heli (tandem or transverse)
/// @author Fredrik Hedberg
#ifndef __AP_MOTORS_HELI_DUAL_H__
#define __AP_MOTORS_HELI_DUAL_H__
#pragma once
#include <AP_Common/AP_Common.h>
#include <AP_Math/AP_Math.h>
@ -137,5 +136,3 @@ protected:
// internal variables
float _collective2_mid_pct = 0.0f; // collective mid parameter value for rear swashplate converted to 0 ~ 1 range
};
#endif // AP_MotorsHeli_Dual