Successfully locate and open stlinkv1 by usb
[fw/stlink] / src / stlink-sg.h
index 723c66a05678cc2ba45057180b683b0fe3f8d1cd..c9776cddb76701202860c2a5b8bb59b0fc77dcdb 100644 (file)
@@ -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;