cmsis-dap: refactor HID PID/VID check loop
commitef02315de3392c164f18e26e06006d7f56dc1b81
authorSpencer Oliver <spen@spen-soft.co.uk>
Thu, 2 Oct 2014 20:47:22 +0000 (2 21:47 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 16 Oct 2014 12:30:45 +0000 (16 12:30 +0000)
tree1297976cb48f3594c0ce3fa55f3e29a23f3b0527
parentc7de02d6195abb736b00c30fdf3010e242f93640
cmsis-dap: refactor HID PID/VID check loop

In preparation for adding serial number support.

Change-Id: I3c9fb411b79d54a4d2de067039255436ba6708c7
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/2328
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/jtag/drivers/cmsis_dap_usb.c