Merge branch 'master' of github.com:UweBonnes/stlink
[fw/stlink] / src / stlink-sg.h
index 8485d3d88eb0d7f50c3dce9b6b059936a5ea1aee..beecac324e63b9408f1353789c70dedbacb17bb3 100644 (file)
@@ -12,7 +12,7 @@
 extern "C" {
 #endif
     
-#include <libusb-1.0/libusb.h>
+#include <libusb.h>
 #include "stlink-common.h"
     
         // device access
@@ -57,12 +57,13 @@ extern "C" {
         uint32_t q_addr;
 
         // Sense (error information) data
+        // obsolete, this was fed to the scsi tools
         unsigned char sense_buf[SENSE_BUF_LEN];
 
         reg reg;
     };
 
-    stlink_t* stlink_v1_open(const char *dev_name, const int verbose);
+    stlink_t* stlink_v1_open(const int verbose);
 
 #ifdef __cplusplus
 }