Plane: don't log QTUN when VTOL not active
This commit is contained in:
parent
d3afc9424a
commit
9117dcc54b
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user