diff options
| author | Ha Thach <[email protected]> | 2022-09-13 14:57:01 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-09-13 14:57:01 +0700 |
| commit | 7ba950c00686dc94d5314bf5358186f17e507d91 (patch) | |
| tree | a905947bf3e7a92c9f203ea1d0cd37b4d00f21be /src | |
| parent | 639341238035612d7e73a3a9ab8990dcbdda0b02 (diff) | |
| parent | 3133cacc6ab699244617039462f5c3870e16d835 (diff) | |
Merge pull request #1642 from kasjer/kasjer/nrf5x-fix-out-iso-packet-size-report
nrf5x: Fix reception of large ISO packets
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/nordic/nrf5x/dcd_nrf5x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/nordic/nrf5x/dcd_nrf5x.c b/src/portable/nordic/nrf5x/dcd_nrf5x.c index f213e9f9f..ca37d799f 100644 --- a/src/portable/nordic/nrf5x/dcd_nrf5x.c +++ b/src/portable/nordic/nrf5x/dcd_nrf5x.c @@ -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; |
