mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
uncrustify libraries/AP_Relay/AP_Relay.h
This commit is contained in:
parent
241ec3508e
commit
75d8345ad1
@ -15,22 +15,22 @@
|
||||
|
||||
/// @class AP_Relay
|
||||
/// @brief Class to manage the APM relay
|
||||
class AP_Relay{
|
||||
class AP_Relay {
|
||||
public:
|
||||
// activate the relay
|
||||
void on();
|
||||
// activate the relay
|
||||
void on();
|
||||
|
||||
// de-activate the relay
|
||||
void off();
|
||||
// de-activate the relay
|
||||
void off();
|
||||
|
||||
// toggle the relay status
|
||||
void toggle();
|
||||
// toggle the relay status
|
||||
void toggle();
|
||||
|
||||
// set the relay status (on/off)
|
||||
void set(bool status);
|
||||
// set the relay status (on/off)
|
||||
void set(bool status);
|
||||
|
||||
// get the relay status (on/off)
|
||||
bool get();
|
||||
// get the relay status (on/off)
|
||||
bool get();
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user