Browse Source

Allow higher error count

QGC4.4
Lorenz Meier 12 years ago
parent
commit
a5fb558a8c
  1. 2
      src/comm/SerialLink.cc

2
src/comm/SerialLink.cc

@ -174,7 +174,7 @@ void SerialLink::run() @@ -174,7 +174,7 @@ void SerialLink::run()
}
}
if (isConnected() && (linkErrorCount > 100)) {
if (isConnected() && (linkErrorCount > 1000)) {
qDebug() << "linkErrorCount too high: disconnecting!";
linkErrorCount = 0;
emit communicationUpdate(getName(), tr("Disconnecting on too many link errors"));

Loading…
Cancel
Save