Skip to content

Commit

Permalink
Cleaning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matlo committed Nov 29, 2015
1 parent 9540fdd commit 970b6c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions shared/async/include/hidasync.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ extern "C" {
#define USB_DEVICE_ID_LOGITECH_G920_WHEEL 0xc262
#define USB_DEVICE_ID_LOGITECH_G29_WHEEL 0xc24f

struct hid_device;

typedef struct {
unsigned short vendor_id;
unsigned short product_id;
Expand Down
2 changes: 1 addition & 1 deletion shared/async/src/linux/usbhidasync.c
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ static int claim_device(int device, libusb_device * dev, struct libusb_device_de
LIBUSB_REQUEST_GET_DESCRIPTOR, (LIBUSB_DT_REPORT << 8) | 0, 0, hidInfo->reportDescriptor,
hidInfo->reportDescriptorLength, 1000);
if (ret < 0) {
PRINT_ERROR_LIBUSB("libusb_get_descriptor", ret)
PRINT_ERROR_LIBUSB("libusb_control_transfer", ret)
return -1;
} else {
hidInfo->reportDescriptorLength = ret;
Expand Down

0 comments on commit 970b6c1

Please sign in to comment.