projects
/
fw
/
stlink
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d15a253
)
stlink-usb: Rewrite warning libusb_claim_interface, to be more human friendly. Fixes...
author
Jerry Jacobs
<jerry.jacobs@xor-gate.org>
Thu, 5 May 2016 10:55:58 +0000
(12:55 +0200)
committer
Jerry Jacobs
<jerry.jacobs@xor-gate.org>
Thu, 5 May 2016 10:55:58 +0000
(12:55 +0200)
src/stlink-usb.c
patch
|
blob
|
history
diff --git
a/src/stlink-usb.c
b/src/stlink-usb.c
index 4cdefd795486d89965b2c9869ced5677d9232606..98654129eccdca57b5a20ebaca2b5d525f48d873 100644
(file)
--- a/
src/stlink-usb.c
+++ b/
src/stlink-usb.c
@@
-836,7
+836,7
@@
stlink_t *stlink_open_usb(enum ugly_loglevel verbose, bool reset, char serial[16
}
if (libusb_claim_interface(slu->usb_handle, 0)) {
- WLOG("
libusb_claim_interface() failed
\n");
+ WLOG("
Stlink usb device found, but unable to claim (probably already in use?)
\n");
goto on_libusb_error;
}