From 1b682e3c8f9bf72f80f491dec70cf1af2f9c6545 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 4 Jan 2016 17:49:08 +1100 Subject: [PATCH] AP_Motors: swash servos are output only --- libraries/AP_Motors/AP_MotorsHeli.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Motors/AP_MotorsHeli.cpp b/libraries/AP_Motors/AP_MotorsHeli.cpp index 7ca05c7d2a..c0942c842f 100644 --- a/libraries/AP_Motors/AP_MotorsHeli.cpp +++ b/libraries/AP_Motors/AP_MotorsHeli.cpp @@ -357,7 +357,7 @@ bool AP_MotorsHeli::parameter_check(bool display_msg) const // reset_swash_servo void AP_MotorsHeli::reset_swash_servo(RC_Channel& servo) { - servo.set_range(0, 1000); + servo.set_range_out(0, 1000); // swash servos always use full endpoints as restricting them would lead to scaling errors servo.radio_min = 1000;