AP_ServoRelayEvents: replace header guard with pragma once

This commit is contained in:
Lucas De Marchi 2016-02-17 23:25:49 -02:00 committed by Andrew Tridgell
parent d82369b293
commit 9c28730815

View File

@ -6,9 +6,7 @@
* handle DO_SET_SERVO, DO_REPEAT_SERVO, DO_SET_RELAY and
* DO_REPEAT_RELAY commands
*/
#ifndef __AP_SERVORELAYEVENTS_H__
#define __AP_SERVORELAYEVENTS_H__
#pragma once
#include <AP_Param/AP_Param.h>
#include <AP_Relay/AP_Relay.h>
@ -62,5 +60,3 @@ private:
// PWM for servos
uint16_t servo_value;
};
#endif /* AP_SERVORELAYEVENTS_H_ */