diff options
author | NicoHood <NicoHood@users.noreply.github.com> | 2015-08-07 19:45:18 +0200 |
---|---|---|
committer | NicoHood <NicoHood@users.noreply.github.com> | 2015-08-12 17:48:17 +0200 |
commit | d1fe40060e3c9b1f060e86221aeabf7f70a66316 (patch) | |
tree | 9f689cdf0c5db83cceccedf0e289d8ae0ccf2f50 /libraries | |
parent | 488ace3d138ef1eb183ab53b9b24fa9ea3eeb301 (diff) |
Added 16 byte endpoint support
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/HID/HID.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/HID/HID.cpp b/libraries/HID/HID.cpp index 04b5731..c629eb9 100644 --- a/libraries/HID/HID.cpp +++ b/libraries/HID/HID.cpp @@ -59,7 +59,7 @@ int HID_GetInterface(u8* interfaceNum) { D_INTERFACE(HID_INTERFACE,1,3,0,0), D_HIDREPORT(sizeof_hidReportDescriptor), - D_ENDPOINT(USB_ENDPOINT_IN (HID_ENDPOINT_INT),USB_ENDPOINT_TYPE_INTERRUPT,0x40,0x01) + D_ENDPOINT(USB_ENDPOINT_IN (HID_ENDPOINT_INT),USB_ENDPOINT_TYPE_INTERRUPT,USB_EP_SIZE,0x01) }; return USB_SendControl(0,&_hidInterface,sizeof(_hidInterface)); } |