Browse Source

AC_AutoTune: unify singleton naming to _singleton and get_singleton()

master
Tom Pittenger 6 years ago committed by Tom Pittenger
parent
commit
3415d309ea
  1. 2
      libraries/AC_AutoTune/AC_AutoTune.cpp

2
libraries/AC_AutoTune/AC_AutoTune.cpp

@ -140,7 +140,7 @@ bool AC_AutoTune::init_internals(bool _use_poshold, @@ -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…
Cancel
Save