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_ */