/* HCAN2 uses oposite logic for LAFM: 1-ignore bit, 0-use bit as mask */
+#if myDEBUG
DEBUGMSG("CNT: %d ID: 0x%08x MASK: 0x%08x\n", num, (uint32_t) (filter.id) & 0x1fffffff, (uint32_t) (~filter.mask) & 0x1fffffff);
-
+#endif
+
if (filter.flags & MSG_EXT) /* Extended ID */
return hcan2_extended_mask(chip, filter.id, ~filter.mask);
else /* Standard ID */