Skip to content

Commit 31d333c

Browse files
authored
Merge pull request #5 from nickboers/patch-1
Increase HID descriptor report size variable type
2 parents 523fbeb + 29a3c85 commit 31d333c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/usb_host_hid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ typedef struct _USB_HID_TRANSFER_INFO
130130
uint8_t state; // State of the endpoint.
131131
uint16_t reportId; // Report ID of the current transfer.
132132
uint8_t *userData; // Data pointer to application buffer.
133-
uint8_t bytesTransferred; // Number of bytes transferred to/from the user's data buffer.
133+
uint16_t bytesTransferred; // Number of bytes transferred to/from the user's data buffer.
134134
uint8_t endpoint; // Endpoint to use for the transfer.
135135
uint8_t reportSize; // Size of report currently requested for transfer.
136136
uint8_t interface; // Interface number of current transfer.

0 commit comments

Comments
 (0)