RC_Channel: unify singleton naming to _singleton and get_singleton()

This commit is contained in:
Tom Pittenger 2019-02-09 21:01:36 -08:00 committed by Tom Pittenger
parent a4e91e196f
commit ece8580c1d

View File

@ -665,7 +665,7 @@ void RC_Channel::do_aux_function(const aux_func_t ch_option, const aux_switch_po
break;
case LANDING_GEAR: {
AP_LandingGear *lg = AP_LandingGear::instance();
AP_LandingGear *lg = AP_LandingGear::get_singleton();
if (lg == nullptr) {
break;
}