Fixes for OSX

This commit is contained in:
Collin Kidder
2017-05-21 20:18:59 -04:00
parent b016ddf909
commit ea52b4c512
2 changed files with 451 additions and 0 deletions
+3
View File
@@ -344,6 +344,9 @@ void CANConnection::checkTargettedFrame(CANFrame &frame)
{
unsigned int maskedID;
qDebug() << "Got frame with ID " << frame.ID << " on bus " << frame.bus;
if (mBusData_p == 0) return;
if (mBusData_p[frame.bus].mTargettedFrames == 0) return;
foreach (const CANFlt filt, mBusData_p[frame.bus].mTargettedFrames)
{
qDebug() << "Checking filter with id " << filt.id << " mask " << filt.mask;