data link loss timeout as param

This commit is contained in:
Thomas Gubler
2014-07-20 17:53:04 +02:00
parent 075a99e6e0
commit dcf114aa65
2 changed files with 17 additions and 3 deletions

View File

@@ -95,3 +95,15 @@ PARAM_DEFINE_FLOAT(BAT_CAPACITY, -1.0f);
* @max 1
*/
PARAM_DEFINE_INT32(COM_DL_LOSS_EN, 0);
/**
* Datalink timeout threshold
*
* After this amount of seconds the data link lost mode triggers
*
* @group commander
* @unit second
* @min 0
* @max 1000
*/
PARAM_DEFINE_INT32(COM_DL_LOSS_T, 10);