diff -r 17edd8a028fa -r 9b76e0881beb drivers/can_can4linux/can_can4linux.c --- a/drivers/can_can4linux/can_can4linux.c Tue Jan 22 10:27:13 2008 +0100 +++ b/drivers/can_can4linux/can_can4linux.c Wed Jan 23 10:35:52 2008 +0100 @@ -54,7 +54,7 @@ /* There is no mark for extended messages in CanFestival */; } - m->cob_id.w = canmsg.id; + m->cob_id = canmsg.id; m->len = canmsg.length; if(canmsg.flags&MSG_RTR){ m->rtr = 1; @@ -66,8 +66,8 @@ /*gettimeofday(¤t_time,NULL); time_period=(current_time.tv_sec - init_time.tv_sec)* 1000000 + current_time.tv_usec - init_time.tv_usec; - printf("%3ld.%3ld.%3ld - Receive ID: %lx ->",time_period/1000000,(time_period%1000000)/1000,time_period%1000,m->cob_id.w); - printf("Receive ID: %lx ->",m->cob_id.w); + printf("%3ld.%3ld.%3ld - Receive ID: %lx ->",time_period/1000000,(time_period%1000000)/1000,time_period%1000,m->cob_id); + printf("Receive ID: %lx ->",m->cob_id); for(i=0; idata[i]); printf("\n");*/ @@ -81,7 +81,7 @@ canmsg_t canmsg; canmsg.flags = 0; - canmsg.id = m->cob_id.w; + canmsg.id = m->cob_id; canmsg.length = m->len; if(m->rtr){ canmsg.flags |= MSG_RTR;