--- a/examples/win32test/main.c Tue May 22 08:10:09 2012 +0200
+++ b/examples/win32test/main.c Tue May 22 08:14:52 2012 +0200
@@ -107,7 +107,7 @@
/* process command line arguments */
if (argc < 2)
{
- printf("USAGE: win32test <node_id> [can driver dll filename [baud rate]]\n");
+ printf("USAGE: win32test <node_id> [can driver dll filename [baud rate[bus name]]]\n");
return 1;
}
@@ -126,6 +126,9 @@
if (argc > 3)
MasterBoard.baudrate = argv[3];
+ if (argc > 4)
+ MasterBoard.busname = argv[4];
+
// load can driver
if (!LoadCanDriver(dll_file_name))
{