Removed a few more warnings, switched the way CAN callbacks work.

This commit is contained in:
Collin Kidder
2016-12-30 14:24:17 -05:00
parent 7222870b1e
commit 2758fa8a09
10 changed files with 96 additions and 66 deletions
+1 -3
View File
@@ -77,9 +77,7 @@ void ScriptContainer::setFilter(QJSValue id, QJSValue mask, QJSValue bus)
foreach(const CANFilter& flt, filters)
{
if(flt.bus==i) {
canFlt.id = idVal;
canFlt.mask = maskVal;
conn_p->addTargettedFrame(busVal, canFlt);
conn_p->addTargettedFrame(busVal, idVal, maskVal, this);
}
}
}