adapter/cmsis-dap: Fix 'usb interface' command
Simplify syntax error handling and make the documentation and code consistent. Change-Id: Ib8ee5adff2071964fc6d8e153f3eb82dd20054f3 Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: https://review.openocd.org/c/openocd/+/9067 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
committed by
Antonio Borneo
parent
1950befd76
commit
727c0d46e3
@@ -2578,7 +2578,7 @@ This is the default if @command{cmsis-dap backend} is not specified.
|
||||
@end itemize
|
||||
@end deffn
|
||||
|
||||
@deffn {Config Command} {cmsis-dap usb interface} [number]
|
||||
@deffn {Config Command} {cmsis-dap usb interface} number
|
||||
Specifies the @var{number} of the USB interface to use in v2 mode (USB bulk).
|
||||
In most cases need not to be specified and interfaces are searched by
|
||||
interface string or for user class interface.
|
||||
|
||||
Reference in New Issue
Block a user