Merge pull request #298 from giuseppebarba/master
[fw/stlink] / src / stlink-usb.h
index 63b53695e270fd5ecd1e5ec28ae6c4636d630ba3..58b60e430694e146ae7827c70e01bfe31aeb38a3 100644 (file)
@@ -1,4 +1,4 @@
-/* 
+/*
  * File:   stlink-usb.h
  * Author: karl
  *
@@ -14,7 +14,7 @@ extern "C" {
 
 #include <libusb.h>
 #include "stlink-common.h"
-    
+
 #define STLINK_SG_SIZE 31
 #define STLINK_CMD_SIZE 16
 
@@ -29,8 +29,8 @@ extern "C" {
         unsigned int sg_transfer_idx;
         unsigned int cmd_len;
     };
-    
-    stlink_t* stlink_open_usb(const int verbose);
+
+    stlink_t* stlink_open_usb(const int verbose, int reset);
 
 
 #ifdef __cplusplus