From 93c505b1633e098a30232a0e9e3bf79363aacbfb Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Thu, 10 Jun 2021 11:47:34 +0200 Subject: [PATCH] commander: force arming is not an option from RC --- src/modules/commander/Commander.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/commander/Commander.cpp b/src/modules/commander/Commander.cpp index 635fc013bd..6285eca6b2 100644 --- a/src/modules/commander/Commander.cpp +++ b/src/modules/commander/Commander.cpp @@ -981,10 +981,10 @@ Commander::handle_command(const vehicle_command_s &cmd) } else { if (cmd_from_manual_stick) { - arming_res = arm(arm_disarm_reason_t::rc_stick, !forced); + arming_res = arm(arm_disarm_reason_t::rc_stick); } else if (cmd_from_manual_switch) { - arming_res = arm(arm_disarm_reason_t::rc_switch, !forced); + arming_res = arm(arm_disarm_reason_t::rc_switch); } else { arming_res = arm(arm_disarm_reason_t::command_internal, !forced);