]> git.sur5r.net Git - openocd/commit
mpsse: Display libusb error names instead of numbers
authorJoakim Gebart <joakim.gebart@eistec.se>
Mon, 8 Sep 2014 13:15:42 +0000 (15:15 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 22 Sep 2014 19:39:09 +0000 (19:39 +0000)
commitb2973be9cc3538026c837d1122ab344cebb40aa0
treea56cdbf506aa96140afda41641606ecf921a9d68
parent9a42454c2bfd3c6b5d06a1359c56fb985a15d569
mpsse: Display libusb error names instead of numbers

Added calls to libusb_error_name() where applicable in order to easier
understand the error messages.

Change-Id: I3fe3d4b5624ae0de37c36e54a371eba5535ccaa1
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
Reviewed-on: http://openocd.zylin.com/2289
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/mpsse.c