projects
/
fw
/
stlink
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Read stlink version info via libusb.
[fw/stlink]
/
src
/
stlink-sg.h
diff --git
a/src/stlink-sg.h
b/src/stlink-sg.h
index c9776cddb76701202860c2a5b8bb59b0fc77dcdb..2e27ceb5fc82527093f98eca24d17fd0ae41a89c 100644
(file)
--- a/
src/stlink-sg.h
+++ b/
src/stlink-sg.h
@@
-42,7
+42,9
@@
extern "C" {
struct stlink_libsg {
libusb_context* libusb_ctx;
- libusb_device_handle *handle;
+ libusb_device_handle *usb_handle;
+ unsigned ep_rep;
+ unsigned ep_req;
int sg_fd;
int do_scsi_pt_err;