From 741c467f0350202ab9d87906701c8bb4d78f2fc9 Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Thu, 28 Nov 2019 16:16:17 -0300 Subject: [PATCH] Sub: do not initialize rc channels 6 and higher --- ArduSub/joystick.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ArduSub/joystick.cpp b/ArduSub/joystick.cpp index e00119fd31..f1f14b1dee 100644 --- a/ArduSub/joystick.cpp +++ b/ArduSub/joystick.cpp @@ -704,10 +704,6 @@ void Sub::set_neutral_controls() RC_Channels::set_override(i, 1500, tnow); } - for (uint8_t i = 6; i < 11; i++) { - RC_Channels::set_override(i, 0xffff, tnow); - } - // Clear pitch/roll trim settings pitchTrim = 0; rollTrim = 0;