Commit b4089ad9 authored by Lorenz Meier's avatar Lorenz Meier

Reset error counter on link reconnect

parent 3e0ca9f6
......@@ -242,6 +242,9 @@ void SerialLink::run()
delete m_port;
m_port = NULL;
// We are reconnecting, so give it a fresh start
linkErrorCount = 0;
emit disconnected();
emit connected(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