Commit eeed7a62 authored by Willian Galvani's avatar Willian Galvani

Add timeout field to motorTest() call in APMSubMotorComponent.qml

This is a bugfix due to changed signature in 3089da58
parent 8db263dd
......@@ -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)
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment