mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-26 12:59:18 +01:00
Use LIBUSB_CALL for hidapi's read_callback function
This commit is contained in:
parent
2be75c6a61
commit
133b475586
@ -783,7 +783,7 @@ hid_device * hid_open(unsigned short vendor_id, unsigned short product_id, const
|
||||
return handle;
|
||||
}
|
||||
|
||||
static void read_callback(struct libusb_transfer *transfer)
|
||||
static void LIBUSB_CALL read_callback(struct libusb_transfer *transfer)
|
||||
{
|
||||
hid_device *dev = (hid_device *)transfer->user_data;
|
||||
int res;
|
||||
|
Loading…
Reference in New Issue
Block a user