forked from GerhardHoffmann/DCLibraries
Minor: debug output (commented out)
This commit is contained in:
parent
b024e34b82
commit
5c9578ebef
@ -55,9 +55,10 @@ void T_com::writeToSerial(const QByteArray &data, uint16_t sendLength)
|
|||||||
writeCount += 1;
|
writeCount += 1;
|
||||||
|
|
||||||
// only for debugging
|
// only for debugging
|
||||||
|
// if ((unsigned int)data.constData()[2] == 31) { // request dynamic data
|
||||||
// qCritical() << __func__ << ":" << __LINE__ << QDateTime::currentDateTime().time().toString(Qt::ISODateWithMs)
|
// qCritical() << __func__ << ":" << __LINE__ << QDateTime::currentDateTime().time().toString(Qt::ISODateWithMs)
|
||||||
// << "write cmd" << (unsigned int)data.constData()[2];
|
// << "write cmd" << (unsigned int)data.constData()[2];
|
||||||
|
//}
|
||||||
} else {
|
} else {
|
||||||
qCritical() << __func__ << ":" << __LINE__
|
qCritical() << __func__ << ":" << __LINE__
|
||||||
<< "ERROR sending" << data.toHex(':') << "port is not open";
|
<< "ERROR sending" << data.toHex(':') << "port is not open";
|
||||||
|
Loading…
Reference in New Issue
Block a user