Skip to content

Commit

Permalink
Remove accidental inclusion of a shim overriding return length.
Browse files Browse the repository at this point in the history
  • Loading branch information
cnlohr committed Jul 9, 2024
1 parent 6a68f5a commit 7bf80c9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples_v20x/otg_device/otgusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ void USBHD_IRQHandler()
goto replycomplete;
case HID_GET_REPORT:
len = HandleHidUserGetReportSetup( ctx, pUSBOTG_SetupReqPak );
len = 255;
if( len < 0 ) goto sendstall;
ctx->USBOTG_SetupReqLen = len;
len = len >= DEF_USBD_UEP0_SIZE ? DEF_USBD_UEP0_SIZE : len;
Expand Down

0 comments on commit 7bf80c9

Please sign in to comment.