From 0332cde37480eb2a619d57ba1db8dfaa1e857400 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 17 Feb 2016 23:25:46 -0200 Subject: [PATCH] AP_Relay: replace header guard with pragma once --- libraries/AP_Relay/AP_Relay.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libraries/AP_Relay/AP_Relay.h b/libraries/AP_Relay/AP_Relay.h index d74d8f0dd1..a03121da75 100644 --- a/libraries/AP_Relay/AP_Relay.h +++ b/libraries/AP_Relay/AP_Relay.h @@ -9,9 +9,7 @@ /// @file AP_Relay.h /// @brief APM relay control class - -#ifndef __AP_RELAY_H__ -#define __AP_RELAY_H__ +#pragma once #include @@ -44,5 +42,3 @@ private: AP_Int8 _pin[AP_RELAY_NUM_RELAYS]; AP_Int8 _default; }; - -#endif /* AP_RELAY_H_ */