Commander: add parameter to disallow disarming in manual thrust modes

This commit is contained in:
Matthias Grob
2023-11-17 09:53:56 +01:00
committed by Mathieu Bresciani
parent 78987f6016
commit ead16d0e6c
3 changed files with 15 additions and 1 deletions
+13
View File
@@ -245,6 +245,19 @@ PARAM_DEFINE_INT32(COM_ARM_WO_GPS, 1);
*/
PARAM_DEFINE_INT32(COM_ARM_SWISBTN, 0);
/**
* Allow disarming via switch/stick/button on multicopters in manual thrust modes
*
* 0: Disallow disarming when not landed
* 1: Allow disarming in multicopter flight in modes where
* the thrust is directly controlled by thr throttle stick
* e.g. Stabilized, Acro
*
* @group Commander
* @boolean
*/
PARAM_DEFINE_INT32(COM_DISARM_MAN, 1);
/**
* Battery failsafe mode
*