Commit e4f0d5f9 authored by DonLakeFlyer's avatar DonLakeFlyer

No comm timeout on high latency links

parent 2af0422b
......@@ -2066,6 +2066,11 @@ void Vehicle::setConnectionLostEnabled(bool connectionLostEnabled)
void Vehicle::_connectionLostTimeout(void)
{
if (highLatencyLink()) {
// No connection timeout on high latency links
return;
}
if (_connectionLostEnabled && !_connectionLost) {
_connectionLost = true;
_heardFrom = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment