Fixed some issues for datalink loss & regain (GCS HEARTBEAT).

Major changes:
- Prevent  "HIGH LATENCY DATA LINK LOST" message to appear if iridium telemetry is not used.
- Prevent "DATA LINK LOSS" mavlink messages flooding when QGC is open and then closed.
- Changed "DATA LINK REGAINED" condition (use _datalink_last_heartbeat_gcs insthead of _datalink_lost)



Signed-off-by: Claudio Micheli <claudio@auterion.com>
This commit is contained in:
Claudio Micheli
2019-02-20 17:01:26 +01:00
committed by Beat Küng
parent d8bdc1b367
commit 1fc055a51f
3 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ PARAM_DEFINE_INT32(COM_DL_LOSS_T, 10);
* @decimal 1
* @increment 0.5
*/
PARAM_DEFINE_INT32(COM_DL_REG_T, 0);
PARAM_DEFINE_INT32(COM_DL_REG_T, 2);
/**
* High Latency Datalink loss time threshold