mirror of https://github.com/ArduPilot/ardupilot
Rover: fix RC init order to avoid error message
This commit is contained in:
parent
e9c339a0a0
commit
4c069d57ea
|
@ -130,8 +130,8 @@ void Rover::init_ardupilot()
|
||||||
set_mode(*initial_mode, ModeReason::INITIALISED);
|
set_mode(*initial_mode, ModeReason::INITIALISED);
|
||||||
|
|
||||||
// initialise rc channels
|
// initialise rc channels
|
||||||
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();
|
||||||
|
|
||||||
rover.g2.sailboat.init();
|
rover.g2.sailboat.init();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue