X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/97078fff5202521b758c9081d75580880417a123..2827b727d2910a3b48f9de7d67b3a67f59e256c7:/lincan/utils/can-proxy.c diff --git a/lincan/utils/can-proxy.c b/lincan/utils/can-proxy.c index 99ca2e1..b602770 100644 --- a/lincan/utils/can-proxy.c +++ b/lincan/utils/can-proxy.c @@ -35,8 +35,6 @@ will forward packets from CAN to the most recent IP/UDP address. #define DEFAULT_CAN_CLIENT_PORT 3008 #define MAX_MSG_SIZE 4000 -typedef struct canmsg_t canmsg_t; - extern int SendCanMsg(canmsg_t * msg); extern int ReceiveCanMsg(canmsg_t * msg); extern int ReadInput(int fd); @@ -378,7 +376,6 @@ int ReceiveCanMsg(canmsg_t * msg) { msg->flags = 0; msg->cob = 0; - msg->timestamp = 0; ret = read(fdCanDev,msg, CAN_MSG_SIZE); if(ret == CAN_MSG_SIZE) { LogMsg("RECV", fLog, msg);