projects
/
fw
/
stlink
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the backends propagate errors
[fw/stlink]
/
src
/
stlink-usb.h
diff --git
a/src/stlink-usb.h
b/src/stlink-usb.h
index 58b60e430694e146ae7827c70e01bfe31aeb38a3..938c07bcbf985a78e747fc98fb3c0c299368fcda 100644
(file)
--- a/
src/stlink-usb.h
+++ b/
src/stlink-usb.h
@@
-21,8
+21,6
@@
extern "C" {
struct stlink_libusb {
libusb_context* libusb_ctx;
libusb_device_handle* usb_handle;
struct stlink_libusb {
libusb_context* libusb_ctx;
libusb_device_handle* usb_handle;
- struct libusb_transfer* req_trans;
- struct libusb_transfer* rep_trans;
unsigned int ep_req;
unsigned int ep_rep;
int protocoll;
unsigned int ep_req;
unsigned int ep_rep;
int protocoll;
@@
-30,7
+28,7
@@
extern "C" {
unsigned int cmd_len;
};
unsigned int cmd_len;
};
- stlink_t* stlink_open_usb(const int verbose, int reset);
+ stlink_t* stlink_open_usb(const int verbose, int reset
, char *p_usb_iserial
);
#ifdef __cplusplus
#ifdef __cplusplus