mirror of
https://github.com/wf-group/wfview
synced 2026-08-13 17:32:59 -04:00
I must be getting tired!
This commit is contained in:
parent
40732fb9fa
commit
279df676ce
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ void pttyHandler::sendDataOut(const QByteArray& writeData)
|
|||
|
||||
qint64 bytesWritten=0;
|
||||
|
||||
if (writeData[2] != (char)0xE1 || writeData[3] != (char)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()\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue