Copter: fix RC init order to avoid error message

This commit is contained in:
Iampete1 2021-09-21 02:47:11 +01:00 committed by Andrew Tridgell
parent 057d35a45c
commit 85638cf4fa

View File

@ -80,8 +80,8 @@ void Copter::init_ardupilot()
allocate_motors();
// initialise rc channels including setting mode
rc().init();
rc().convert_options(RC_Channel::AUX_FUNC::ARMDISARM_UNUSED, RC_Channel::AUX_FUNC::ARMDISARM_AIRMODE);
rc().init();
// sets up motors and output to escs
init_rc_out();