Update pttyhandler.cpp

audioplugins
Phil Taylor 2021-03-04 21:13:21 +00:00
rodzic 868e110523
commit f1bf68654f
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -155,7 +155,7 @@ void pttyHandler::sendDataOut(const QByteArray& writeData)
qint64 bytesWritten=0;
if ((unsigned char)inPortData[2] != 0xE1 && (unsigned char)inPortData[3] != 0xE1) {
if (writeData[2] != (char)0xE1 || writeData[3] != (char)0xE1) {
bytesWritten = port->write(writeData);
if (bytesWritten != writeData.length()) {
qDebug(logSerial()) << "bytesWritten: " << bytesWritten << " length of byte array: " << writeData.length()\