static int hexMode = HEXMODE;
-static const char trbcmd_version[] = "$Revision: 2.70 $";
+static const char trbcmd_version[] = "$Revision: 2.71 $";
#define BACKLOG 10
static uint16_t tcp_port = 55555;
fprintf(stdout, " -n repeat COMMAND number times, -1 = endless loop\n");
fprintf(stdout,
" -s only if running in -n mode, "
- "sleep time in useconds (usleep)\n");
+ "sleep time in ms\n");
fprintf(stdout,
" -M turn on HighMemoryMode (maximum usage is 20MByte, default: "
"3MByte)\n");
loop = strtol(optarg, NULL, 0);
break;
case 's':
- sleepTime = strtol(optarg, NULL, 0);
+ sleepTime = strtol(optarg, NULL, 0) * 1000;
break;
case 'd':
trb_debug = strtoul(optarg, NULL, 0);