mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Copter: fix RC init order to avoid error message
This commit is contained in:
parent
057d35a45c
commit
85638cf4fa
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user