Skip to content

Commit

Permalink
Merge pull request #1642 from kasjer/kasjer/nrf5x-fix-out-iso-packet-…
Browse files Browse the repository at this point in the history
…size-report

nrf5x: Fix reception of large ISO packets
  • Loading branch information
hathach authored Sep 13, 2022
2 parents 6393412 + 3133cac commit 7ba950c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/portable/nordic/nrf5x/dcd_nrf5x.c
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ void dcd_int_handler(uint8_t rhport)
if ( tu_bit_test(int_status, USBD_INTEN_ENDEPOUT0_Pos+epnum))
{
xfer_td_t* xfer = get_td(epnum, TUSB_DIR_OUT);
uint8_t const xact_len = NRF_USBD->EPOUT[epnum].AMOUNT;
uint16_t const xact_len = NRF_USBD->EPOUT[epnum].AMOUNT;

xfer->buffer += xact_len;
xfer->actual_len += xact_len;
Expand Down

0 comments on commit 7ba950c

Please sign in to comment.