Browse Source

No comm timeout on high latency links

QGC4.4
DonLakeFlyer 7 years ago
parent
commit
e4f0d5f9e0
  1. 5
      src/Vehicle/Vehicle.cc

5
src/Vehicle/Vehicle.cc

@ -2066,6 +2066,11 @@ void Vehicle::setConnectionLostEnabled(bool connectionLostEnabled)
void Vehicle::_connectionLostTimeout(void) void Vehicle::_connectionLostTimeout(void)
{ {
if (highLatencyLink()) {
// No connection timeout on high latency links
return;
}
if (_connectionLostEnabled && !_connectionLost) { if (_connectionLostEnabled && !_connectionLost) {
_connectionLost = true; _connectionLost = true;
_heardFrom = false; _heardFrom = false;

Loading…
Cancel
Save