From a5fb558a8cd16b046dd6cac5870d49895e2ddcee Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Tue, 3 Sep 2013 08:19:18 +0200 Subject: [PATCH] Allow higher error count --- src/comm/SerialLink.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comm/SerialLink.cc b/src/comm/SerialLink.cc index 61af2ac..6ae7105 100644 --- a/src/comm/SerialLink.cc +++ b/src/comm/SerialLink.cc @@ -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"));