abort comm loss mode if counter above param and return home directly

This commit is contained in:
Thomas Gubler
2014-07-21 23:56:32 +02:00
parent 86b9e367a6
commit a9a8f1435f
4 changed files with 44 additions and 23 deletions

View File

@@ -94,10 +94,9 @@ PARAM_DEFINE_FLOAT(BAT_CAPACITY, -1.0f);
* @min 0
* @max 1
*/
PARAM_DEFINE_INT32(COM_DL_LOSS_EN, 0);
PARAM_DEFINE_INT32(DL_LOSS_EN, 0);
/**
* Datalink timeout threshold
/** Datalink timeout threshold
*
* After this amount of seconds the data link lost mode triggers
*