DEBUGMSG("this will always return zero.\n");
return 0;
}
- if (length > 8 * sizeof(struct canmsg_t)) {
- DEBUGMSG("Reading more than 8 CAN messages, this is not supported.\n");
- DEBUGMSG("Defaulting to 8 messages.\n");
- length = 8 * sizeof(struct canmsg_t);
- }
/* Initialize hardware pointers */
obj = canuser->msgobj;
if (obj == NULL) {