kopia lustrzana https://gitlab.com/eliggett/wfview
Update commhandler.cpp
rodzic
e248882e31
commit
630d2eaba3
|
@ -90,7 +90,7 @@ void commHandler::sendDataOut(const QByteArray &writeData)
|
|||
{
|
||||
mutex.lock();
|
||||
// Recycle port to attempt reconnection.
|
||||
if (!this->isConnected) {
|
||||
if (!this->isConnected || !port->isOpen()) {
|
||||
closePort();
|
||||
openPort();
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue