File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ void usage(int error)
8484 fprintf (dest , " -v : Verbose\n" );
8585 fprintf (dest , " -V : Displays the version string and exits\n" );
8686 fprintf (dest , " -s : Signed using bootsig.bin\n" );
87- fprintf (dest , " -0/1/2/.../20 : Only look for CMs attached to USB port number 0-20 \n" );
87+ fprintf (dest , " -0/1/2/.../255 : Only look for CMs attached to USB port number 0-255 \n" );
8888 fprintf (dest , " -p [pathname] : Only look for CM with USB pathname\n" );
8989 fprintf (dest , " -i [serialno] : Only look for a Raspberry Pi Device with a given serialno\n" );
9090 fprintf (dest , " -j [path] : Enable output of metadata JSON files in a given directory for BCM2712/2711\n" );
@@ -560,7 +560,7 @@ void get_options(int argc, char *argv[])
560560 {
561561 char * endptr ;
562562 long port = strtol (* argv + 1 , & endptr , 10 );
563- if (* endptr == '\0' && port >= 0 && port <= 20 ) {
563+ if (* endptr == '\0' && port >= 0 && port <= 255 ) {
564564 targetPortNo = (uint8_t )port ;
565565 } else {
566566 usage (1 );
You can’t perform that action at this time.
0 commit comments