From eeed7a62ee7dea0fa0f1ccabc5e58b380d1adcb7 Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Wed, 11 Sep 2019 13:08:34 -0300 Subject: [PATCH] Add timeout field to motorTest() call in APMSubMotorComponent.qml This is a bugfix due to changed signature in 3089da58b4d6ddab9daf74f6a0a095fde36357ef --- src/AutoPilotPlugins/APM/APMSubMotorComponent.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AutoPilotPlugins/APM/APMSubMotorComponent.qml b/src/AutoPilotPlugins/APM/APMSubMotorComponent.qml index 609e0c345..f824487ff 100644 --- a/src/AutoPilotPlugins/APM/APMSubMotorComponent.qml +++ b/src/AutoPilotPlugins/APM/APMSubMotorComponent.qml @@ -212,9 +212,9 @@ SetupPage { var reversed = controller.getParameterFact(-1, "MOT_" + (_lastIndex + 1) + "_DIRECTION").value == -1 if (reversed) { - controller.vehicle.motorTest(_lastIndex, 100 - slider.motorSlider.value) + controller.vehicle.motorTest(_lastIndex, 100 - slider.motorSlider.value, 0) } else { - controller.vehicle.motorTest(_lastIndex, slider.motorSlider.value) + controller.vehicle.motorTest(_lastIndex, slider.motorSlider.value, 0) } } } -- 2.22.0