mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
Sub: convert to new ARMDISARM
This commit is contained in:
parent
5002abcea6
commit
7e1eb970bc
@ -63,6 +63,7 @@ void Sub::init_ardupilot()
|
||||
|
||||
// initialise rc channels including setting mode
|
||||
rc().init();
|
||||
rc().convert_options(RC_Channel::AUX_FUNC::ARMDISARM_UNUSED, RC_Channel::AUX_FUNC::ARMDISARM);
|
||||
|
||||
init_rc_in(); // sets up rc channels from radio
|
||||
init_rc_out(); // sets up motors and output to escs
|
||||
|
Loading…
Reference in New Issue
Block a user