projects
/
fw
/
stlink
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Successfully locate and open stlinkv1 by usb
[fw/stlink]
/
src
/
stlink-sg.h
diff --git
a/src/stlink-sg.h
b/src/stlink-sg.h
index 723c66a05678cc2ba45057180b683b0fe3f8d1cd..c9776cddb76701202860c2a5b8bb59b0fc77dcdb 100644
(file)
--- a/
src/stlink-sg.h
+++ b/
src/stlink-sg.h
@@
-41,6
+41,9
@@
extern "C" {
struct stlink_libsg {
+ libusb_context* libusb_ctx;
+ libusb_device_handle *handle;
+
int sg_fd;
int do_scsi_pt_err;