Tracker: fix RC init order to avoid error message

This commit is contained in:
Iampete1 2021-09-21 02:46:58 +01:00 committed by Andrew Tridgell
parent 4c069d57ea
commit 057d35a45c
1 changed files with 1 additions and 1 deletions

View File

@ -59,8 +59,8 @@ void Tracker::init_ardupilot()
serial_manager.set_blocking_writes_all(false); serial_manager.set_blocking_writes_all(false);
// initialise rc channels including setting mode // initialise rc channels including setting mode
rc().init();
rc().convert_options(RC_Channel::AUX_FUNC::ARMDISARM_UNUSED, RC_Channel::AUX_FUNC::ARMDISARM); rc().convert_options(RC_Channel::AUX_FUNC::ARMDISARM_UNUSED, RC_Channel::AUX_FUNC::ARMDISARM);
rc().init();
// initialise servos // initialise servos
init_servos(); init_servos();