RC_Channel: unify singleton naming to _singleton and get_singleton()
This commit is contained in:
parent
a4e91e196f
commit
ece8580c1d
@ -665,7 +665,7 @@ void RC_Channel::do_aux_function(const aux_func_t ch_option, const aux_switch_po
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case LANDING_GEAR: {
|
case LANDING_GEAR: {
|
||||||
AP_LandingGear *lg = AP_LandingGear::instance();
|
AP_LandingGear *lg = AP_LandingGear::get_singleton();
|
||||||
if (lg == nullptr) {
|
if (lg == nullptr) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user