mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
SRV_Channel: added singleton access for Lua
This commit is contained in:
parent
9b692eb702
commit
4c0e3dcf72
@ -483,6 +483,11 @@ public:
|
||||
// get E - stop
|
||||
static bool get_emergency_stop() { return emergency_stop;}
|
||||
|
||||
// singleton for Lua
|
||||
static SRV_Channels *get_singleton(void) {
|
||||
return _singleton;
|
||||
}
|
||||
|
||||
private:
|
||||
struct {
|
||||
bool k_throttle_reversible:1;
|
||||
|
Loading…
Reference in New Issue
Block a user