Skip to content

Commit 2c2bb33

Browse files
committed
HID: SET_IDLE uses wValueH for duration, not wValueL
1 parent 24e6edd commit 2c2bb33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/HID/src/HID.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ bool HID_::setup(USBSetup& setup)
128128
return true;
129129
}
130130
if (request == HID_SET_IDLE) {
131-
idle = setup.wValueL;
131+
idle = setup.wValueH;
132132
return true;
133133
}
134134
if (request == HID_SET_REPORT)

0 commit comments

Comments
 (0)