mirror of https://github.com/ArduPilot/ardupilot
Tracker: fix RC init order to avoid error message
This commit is contained in:
parent
4c069d57ea
commit
057d35a45c
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue