kopia lustrzana https://github.com/stlink-org/stlink
[ fix ] missing LIBUSB_CALL definition
rodzic
bfa09149d4
commit
fc85ba71f1
|
@ -58,6 +58,10 @@ struct trans_ctx {
|
||||||
volatile unsigned long flags;
|
volatile unsigned long flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifndef LIBUSB_CALL
|
||||||
|
# define LIBUSB_CALL
|
||||||
|
#endif
|
||||||
|
|
||||||
static void LIBUSB_CALL on_trans_done(struct libusb_transfer * trans) {
|
static void LIBUSB_CALL on_trans_done(struct libusb_transfer * trans) {
|
||||||
struct trans_ctx * const ctx = trans->user_data;
|
struct trans_ctx * const ctx = trans->user_data;
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue