Commander: Support battery failsafe

This commit is contained in:
Lorenz Meier
2016-04-23 14:52:37 +02:00
parent 5b897e095a
commit 36e2bdf876
2 changed files with 49 additions and 21 deletions
+13
View File
@@ -260,6 +260,19 @@ PARAM_DEFINE_INT32(COM_RC_IN_MODE, 0);
*/
PARAM_DEFINE_INT32(COM_DISARM_LAND, 0);
/**
* Battery failsafe mode
*
* Action the system takes on low battery. Defaults to off
*
* @group Commander
* @value 0 No action
* @value 1 RTL on low battery
* @decimal 0
* @increment 1
*/
PARAM_DEFINE_INT32(COM_LOW_BAT_ACT, 0);
/**
* First flightmode slot (1000-1160)
*