From 9c2873081585ca653f980960ae5d4226534b1026 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 17 Feb 2016 23:25:49 -0200 Subject: [PATCH] AP_ServoRelayEvents: replace header guard with pragma once --- libraries/AP_ServoRelayEvents/AP_ServoRelayEvents.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libraries/AP_ServoRelayEvents/AP_ServoRelayEvents.h b/libraries/AP_ServoRelayEvents/AP_ServoRelayEvents.h index 6b0c1201b9..1c5ef49a63 100644 --- a/libraries/AP_ServoRelayEvents/AP_ServoRelayEvents.h +++ b/libraries/AP_ServoRelayEvents/AP_ServoRelayEvents.h @@ -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 #include @@ -62,5 +60,3 @@ private: // PWM for servos uint16_t servo_value; }; - -#endif /* AP_SERVORELAYEVENTS_H_ */