mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-04 22:09:57 +02:00
slcan: increase BTR char limit to 8 for 32bit BTR
As required by some Atmel MCU SLCAN implementations. Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
This commit is contained in:
committed by
Oliver Hartkopp
parent
2323d506d6
commit
999c650e87
+1
-1
@@ -141,7 +141,7 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
case 'b':
|
case 'b':
|
||||||
btr = optarg;
|
btr = optarg;
|
||||||
if (strlen(btr) > 6)
|
if (strlen(btr) > 8)
|
||||||
print_usage(argv[0]);
|
print_usage(argv[0]);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user