kopia lustrzana https://gitlab.com/eliggett/wfview
Update pttyhandler.cpp
rodzic
868e110523
commit
f1bf68654f
|
@ -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()\
|
||||
|
|
Ładowanie…
Reference in New Issue