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
@@ -123,3 +123,14 @@ PARAM_DEFINE_INT32(NAV_DLL_AH_LON, 1518423250);
* @group DLL
*/
PARAM_DEFINE_FLOAT(NAV_DLL_AH_ALT, 600.0f);
/**
* Number of allowed Datalink timeouts
*
* After more than this number of data link timeouts the aircraft returns home directly
*
* @group commander
* @min 0
* @max 1000
*/
PARAM_DEFINE_INT32(NAV_DLL_N, 2);