Plane: don't log QTUN when VTOL not active

This commit is contained in:
Andrew Tridgell 2018-12-21 18:46:33 +11:00
parent d3afc9424a
commit 9117dcc54b
1 changed files with 1 additions and 1 deletions

View File

@ -1606,7 +1606,7 @@ void QuadPlane::motors_output(bool run_rate_controller)
check_throttle_suppression();
motors->output();
if (motors->armed()) {
if (motors->armed() && motors->get_throttle() > 0) {
plane.DataFlash.Log_Write_Rate(ahrs_view, *motors, *attitude_control, *pos_control);
Log_Write_QControl_Tuning();
const uint32_t now = AP_HAL::millis();