mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_ServoRelayEvents: replace header guard with pragma once
This commit is contained in:
parent
d82369b293
commit
9c28730815
@ -6,9 +6,7 @@
|
|||||||
* handle DO_SET_SERVO, DO_REPEAT_SERVO, DO_SET_RELAY and
|
* handle DO_SET_SERVO, DO_REPEAT_SERVO, DO_SET_RELAY and
|
||||||
* DO_REPEAT_RELAY commands
|
* DO_REPEAT_RELAY commands
|
||||||
*/
|
*/
|
||||||
|
#pragma once
|
||||||
#ifndef __AP_SERVORELAYEVENTS_H__
|
|
||||||
#define __AP_SERVORELAYEVENTS_H__
|
|
||||||
|
|
||||||
#include <AP_Param/AP_Param.h>
|
#include <AP_Param/AP_Param.h>
|
||||||
#include <AP_Relay/AP_Relay.h>
|
#include <AP_Relay/AP_Relay.h>
|
||||||
@ -62,5 +60,3 @@ private:
|
|||||||
// PWM for servos
|
// PWM for servos
|
||||||
uint16_t servo_value;
|
uint16_t servo_value;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* AP_SERVORELAYEVENTS_H_ */
|
|
||||||
|
Loading…
Reference in New Issue
Block a user