uncrustify libraries/AP_Relay/AP_Relay.h
This commit is contained in:
parent
06021825c8
commit
dd3201e050
@ -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