Skip to content

Commit

Permalink
fix copy-paste error (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
benedekkupper committed Mar 25, 2022
1 parent 8634d8b commit 32b1e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Class/HID/usbd_hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ static void hid_init(USBD_HID_IfHandleType *itf)
#if (USBD_HID_OUT_SUPPORT == 1)
if (itf->Config.OutEpNum != 0)
{
mps = HID_APP(itf)->Report->Input.MaxSize;
mps = HID_APP(itf)->Report->Output.MaxSize;
if (mps > mpsLimit)
{
mps = mpsLimit;
Expand Down

0 comments on commit 32b1e32

Please sign in to comment.