Sub: convert to new ARMDISARM

This commit is contained in:
Iampete1 2021-09-14 01:06:31 +01:00 committed by Andrew Tridgell
parent 5002abcea6
commit 7e1eb970bc
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ void Sub::init_ardupilot()
// initialise rc channels including setting mode
rc().init();
rc().convert_options(RC_Channel::AUX_FUNC::ARMDISARM_UNUSED, RC_Channel::AUX_FUNC::ARMDISARM);
init_rc_in(); // sets up rc channels from radio
init_rc_out(); // sets up motors and output to escs