Browse Source

AC_AutoTune: rename dataflash to logger

master
Tom Pittenger 6 years ago committed by Peter Barker
parent
commit
ff043204dd
  1. 2
      libraries/AC_AutoTune/AC_AutoTune.cpp

2
libraries/AC_AutoTune/AC_AutoTune.cpp

@ -168,7 +168,6 @@ bool AC_AutoTune::init_internals(bool _use_poshold, @@ -168,7 +168,6 @@ bool AC_AutoTune::init_internals(bool _use_poshold,
if (success) {
// reset gains to tuning-start gains (i.e. low I term)
load_gains(GAIN_INTRA_TEST);
// write dataflash log even and send message to ground station
Log_Write_Event(EVENT_AUTOTUNE_RESTART);
update_gcs(AUTOTUNE_MESSAGE_STARTED);
}
@ -196,7 +195,6 @@ void AC_AutoTune::stop() @@ -196,7 +195,6 @@ void AC_AutoTune::stop()
// re-enable angle-to-rate request limits
attitude_control->use_sqrt_controller(true);
// log off event and send message to ground station
update_gcs(AUTOTUNE_MESSAGE_STOPPED);
Log_Write_Event(EVENT_AUTOTUNE_OFF);

Loading…
Cancel
Save