X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/945b7f064165c25c9d63fa75fbdabe5a940f894c..32115f5fda63ffe8b582a10d2f55ae765fec4f41:/lincan/utils/send.c diff --git a/lincan/utils/send.c b/lincan/utils/send.c index b8171fd..3b7d3fe 100644 --- a/lincan/utils/send.c +++ b/lincan/utils/send.c @@ -14,6 +14,7 @@ int main(void) int msglen; char specialfile[MAXL+1]="/dev/can0", buf[MAXL+1]; struct canmsg_t message; + unsigned val; printf("\nThis program allows you to send a stream of Can messages.\n"); printf("Please answer the following questions:\n\n"); @@ -35,7 +36,6 @@ int main(void) scanf("%d",&msglen); message.length=msglen; for (i=0; i