Comment out some qDebug messages because they caused too much traffic

and weren't really that useful in general
This commit is contained in:
Collin Kidder
2017-08-17 20:09:22 -04:00
parent fb634fe9b5
commit 670fd56869
+2 -2
View File
@@ -352,13 +352,13 @@ bool CANConnection::removeAllTargettedFrames(QObject *receiver)
void CANConnection::checkTargettedFrame(CANFrame &frame) void CANConnection::checkTargettedFrame(CANFrame &frame)
{ {
unsigned int maskedID; unsigned int maskedID;
qDebug() << "Got frame with ID " << frame.ID << " on bus " << frame.bus; //qDebug() << "Got frame with ID " << frame.ID << " on bus " << frame.bus;
if (mBusData_p == 0) return; if (mBusData_p == 0) return;
if (mBusData_p[frame.bus].mTargettedFrames.length() == 0) return; if (mBusData_p[frame.bus].mTargettedFrames.length() == 0) return;
foreach (const CANFlt filt, mBusData_p[frame.bus].mTargettedFrames) foreach (const CANFlt filt, mBusData_p[frame.bus].mTargettedFrames)
{ {
qDebug() << "Checking filter with id " << filt.id << " mask " << filt.mask; //qDebug() << "Checking filter with id " << filt.id << " mask " << filt.mask;
maskedID = frame.ID & filt.mask; maskedID = frame.ID & filt.mask;
if (maskedID == filt.id) { if (maskedID == filt.id) {
qDebug() << "In connection object I got a targetted frame. Forwarding it."; qDebug() << "In connection object I got a targetted frame. Forwarding it.";