]> git.sur5r.net Git - openocd/commit
stlink: correctly signal stlink_interface_open failure
authorSpencer Oliver <spen@spen-soft.co.uk>
Thu, 12 Jan 2012 14:15:28 +0000 (14:15 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 12 Jan 2012 20:46:53 +0000 (20:46 +0000)
commitaa29f083a79fe1c2238b66bee84fd2707603e64a
treeded939a8dbf75e2e0816563f25c0c5dd392dfbd3
parent0cccdde3c726b1ec25fc27b23a6a700260dbf266
stlink: correctly signal stlink_interface_open failure

give the user a error msg on open failure.

Change-Id: If4a57bac7f3e1746c2a05c7a96747a38da188041
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/368
Tested-by: jenkins
Reviewed-by: Mathias Küster <kesmtp@freenet.de>
src/jtag/drivers/stlink_usb.c
src/jtag/stlink/stlink_transport.c