Quantcast
Channel: Objective Development Forums
Viewing all articles
Browse latest Browse all 4524

HID DESCRIPTOR more than 255 bytes

$
0
0
Hi all,
I tried to set USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH to 256 (or more), and this error I got in AVRStudio 4:

../usbdrv/usbdrv.c:174: warning: large integer implicitly truncated to unsigned type

It looks like descriptor length cannot more than 255 bytes.
How to fix this?

On Release 2012-01-09, it said:
Fixed bug in usbDriverSetup() which prevented descriptor sizes above 255 bytes.

Help me please...

Viewing all articles
Browse latest Browse all 4524

Trending Articles