Browse Source

Sub: do not initialize rc channels 6 and higher

zr-v5.1
Willian Galvani 5 years ago committed by Randy Mackay
parent
commit
741c467f03
  1. 4
      ArduSub/joystick.cpp

4
ArduSub/joystick.cpp

@ -704,10 +704,6 @@ void Sub::set_neutral_controls() @@ -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;

Loading…
Cancel
Save