From 3d86fb20d42b1bd5b881bce9f47363ead91bb8b9 Mon Sep 17 00:00:00 2001 From: NicoHood Date: Sun, 20 Sep 2015 08:50:39 +0200 Subject: [PATCH] Fixed HID Out report (leds) --- src/PluggableHID/HID.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PluggableHID/HID.cpp b/src/PluggableHID/HID.cpp index 1e6f196..b8dc38d 100644 --- a/src/PluggableHID/HID.cpp +++ b/src/PluggableHID/HID.cpp @@ -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) {