Commit a5fb558a authored by Lorenz Meier's avatar Lorenz Meier

Allow higher error count

parent 34e3d1c8
...@@ -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!"; qDebug() << "linkErrorCount too high: disconnecting!";
linkErrorCount = 0; linkErrorCount = 0;
emit communicationUpdate(getName(), tr("Disconnecting on too many link errors")); emit communicationUpdate(getName(), tr("Disconnecting on too many link errors"));
......
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