mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-25 16:43:28 +00:00
libusb: fix compile on windows
This commit is contained in:
parent
1b2aa976d8
commit
fd9ea8fd04
@ -233,8 +233,7 @@ static void queue_transfer(struct libusb_transfer *transfer){
|
||||
temp->user_data = transfer;
|
||||
}
|
||||
|
||||
static void async_callback(struct libusb_transfer *transfer)
|
||||
{
|
||||
LIBUSB_CALL static void async_callback(struct libusb_transfer *transfer){
|
||||
// identify and free transfers as part of shutdown
|
||||
if (libusb_state != LIB_USB_TRANSFERS_ALLOCATED) {
|
||||
int c;
|
||||
|
Loading…
x
Reference in New Issue
Block a user