AC_AutoTune: unify singleton naming to _singleton and get_singleton()

This commit is contained in:
Tom Pittenger 2019-02-10 10:34:31 -08:00 committed by Tom Pittenger
parent edc8ccace6
commit 3415d309ea

View File

@ -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: