From 6855899cbfa096a3ddfc28ffa3cc97a3f537f360 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 26 May 2016 16:41:16 +1000 Subject: [PATCH] AP_Motors: fixed servo constructor for coax --- libraries/AP_Motors/AP_MotorsCoax.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Motors/AP_MotorsCoax.h b/libraries/AP_Motors/AP_MotorsCoax.h index ff74f1ccd8..392b7f5e81 100644 --- a/libraries/AP_Motors/AP_MotorsCoax.h +++ b/libraries/AP_Motors/AP_MotorsCoax.h @@ -27,7 +27,7 @@ public: /// Constructor AP_MotorsCoax(uint16_t loop_rate, uint16_t speed_hz = AP_MOTORS_SPEED_DEFAULT) : AP_MotorsMulticopter(loop_rate, speed_hz), - _servo1(CH_1), _servo2(CH_2), _servo3(CH_3), _servo4(CH_4) + _servo1(CH_NONE), _servo2(CH_NONE), _servo3(CH_NONE), _servo4(CH_NONE) { AP_Param::setup_object_defaults(this, var_info); };