mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
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;
|
||||
|
||||
case LANDING_GEAR: {
|
||||
AP_LandingGear *lg = AP_LandingGear::instance();
|
||||
AP_LandingGear *lg = AP_LandingGear::get_singleton();
|
||||
if (lg == nullptr) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user