Fixed HID Out report (leds)

This commit is contained in:
NicoHood 2015-09-20 08:50:39 +02:00
parent 2281210b1c
commit 3d86fb20d4

View file

@ -158,7 +158,7 @@ bool HID_::HID_Setup(USBSetup& setup, u8 i)
if (HID_SET_REPORT == r)
{
// Get reportID and search for the suited HIDDevice
uint8_t ID = setup.wIndex;
uint8_t ID = setup.wValueL;
HIDDevice *current = rootDevice;
while(current != NULL)
{