Skip to content

Commit

Permalink
Corrected the usage message
Browse files Browse the repository at this point in the history
  • Loading branch information
GrassHopper1977 committed Jul 19, 2023
1 parent b22dec0 commit 1e2500b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Binary file modified usb2can
Binary file not shown.
4 changes: 3 additions & 1 deletion usb2can.c
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,9 @@ int processing_loop(int kq, int sockFd, struct usb2can_can* can, libusb_context
}

void printusage() {
printf("usb2can opens a the frist USB2CAN device that it finds and binds to a socket (default address is 2303).\n");
printf("usb2can V3\n");
printf("\n");
printf("usb2can opens either the first or the specified GS USB or candleLight style USB2CAN device and binds to a socket (default address is 2303).\n");
printf("You must #include usb2can.h. Then all messages transmitted & received will be in the format specified in struct can_frame.\n");
printf("\n");
printf("Usage: usb2can <s[rate]/?/p[nnnn]>/d[nnnn]\n");
Expand Down
Binary file modified usb2can_hy
Binary file not shown.

0 comments on commit 1e2500b

Please sign in to comment.