Skip to content

Commit

Permalink
stlink-usb: Rewrite warning libusb_claim_interface, to be more human …
Browse files Browse the repository at this point in the history
…friendly. Fixes as discussed in #303
  • Loading branch information
xor-gate committed May 5, 2016
1 parent d15a253 commit d252443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stlink-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d252443

Please sign in to comment.