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;
|
||||
|
||||
// only for debugging
|
||||
// qCritical() << __func__ << ":" << __LINE__ << QDateTime::currentDateTime().time().toString(Qt::ISODateWithMs)
|
||||
// << "write cmd" << (unsigned int)data.constData()[2];
|
||||
|
||||
// if ((unsigned int)data.constData()[2] == 31) { // request dynamic data
|
||||
// qCritical() << __func__ << ":" << __LINE__ << QDateTime::currentDateTime().time().toString(Qt::ISODateWithMs)
|
||||
// << "write cmd" << (unsigned int)data.constData()[2];
|
||||
//}
|
||||
} else {
|
||||
qCritical() << __func__ << ":" << __LINE__
|
||||
<< "ERROR sending" << data.toHex(':') << "port is not open";
|
||||
|
Loading…
Reference in New Issue
Block a user