From 7e1eb970bc5400103984754f29c50acf2a4a83e2 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Tue, 14 Sep 2021 01:06:31 +0100 Subject: [PATCH] Sub: convert to new ARMDISARM --- ArduSub/system.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ArduSub/system.cpp b/ArduSub/system.cpp index 0563b5c77a..567ffee75d 100644 --- a/ArduSub/system.cpp +++ b/ArduSub/system.cpp @@ -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