mirror of https://github.com/ArduPilot/ardupilot
AP_LandingGear: unify singleton naming to _singleton and get_singleton()
This commit is contained in:
parent
21db5e1a5c
commit
cf2723458d
|
@ -32,7 +32,7 @@ public:
|
||||||
AP_LandingGear &operator=(const AP_LandingGear&) = delete;
|
AP_LandingGear &operator=(const AP_LandingGear&) = delete;
|
||||||
|
|
||||||
// get singleton instance
|
// get singleton instance
|
||||||
static AP_LandingGear *instance(void) {
|
static AP_LandingGear *get_singleton(void) {
|
||||||
return _singleton;
|
return _singleton;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue