]> git.sur5r.net Git - openocd/commit
jtag/drivers/cmsis_dap: fix check for hardcoded vids/pids
authorPaul Fertser <fercerpav@gmail.com>
Tue, 24 Jun 2014 14:10:35 +0000 (18:10 +0400)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Thu, 3 Jul 2014 18:40:49 +0000 (18:40 +0000)
commitaa79f7b7e0124f993da379690f3b629ef6d76c6c
tree19f3d9158685e97dcc384d5c7b581c1fa7c56d27
parenta74b5687a7195a6d816a251df59af21acf05aae6
jtag/drivers/cmsis_dap: fix check for hardcoded vids/pids

This is intended to fix cmsis_dap_vid_pid command but it doesn't
because cmsis-dap has only one transport and it's auto-selected from
"interface" command handler (before any other commands are run) and as
the result cmsis_dap_usb_open() is called too early.

Change-Id: Idaade73797d8df67a6439d096f6abc9736495599
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2191
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/cmsis_dap_usb.c