AC_AutoTune: unify singleton naming to _singleton and get_singleton()
This commit is contained in:
parent
edc8ccace6
commit
3415d309ea
@ -140,7 +140,7 @@ bool AC_AutoTune::init_internals(bool _use_poshold,
|
||||
pos_control = _pos_control;
|
||||
ahrs_view = _ahrs_view;
|
||||
inertial_nav = _inertial_nav;
|
||||
motors = AP_Motors::get_instance();
|
||||
motors = AP_Motors::get_singleton();
|
||||
|
||||
switch (mode) {
|
||||
case FAILED:
|
||||
|
Loading…
Reference in New Issue
Block a user