AP_Relay: replace header guard with pragma once

This commit is contained in:
Lucas De Marchi 2016-02-17 23:25:46 -02:00 committed by Andrew Tridgell
parent 41d5f4a3b1
commit 0332cde374

View File

@ -9,9 +9,7 @@
/// @file AP_Relay.h
/// @brief APM relay control class
#ifndef __AP_RELAY_H__
#define __AP_RELAY_H__
#pragma once
#include <AP_Param/AP_Param.h>
@ -44,5 +42,3 @@ private:
AP_Int8 _pin[AP_RELAY_NUM_RELAYS];
AP_Int8 _default;
};
#endif /* AP_RELAY_H_ */