Skip to content

Commit d66d817

Browse files
authored
Merge pull request #1080 from hathach/rx-msc-compliance
Renesas RX reset PID to DATA0 when open endpoint
2 parents 5f141a4 + d077574 commit d66d817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/portable/renesas/usba/dcd_usba.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ bool dcd_edpt_open(uint8_t rhport, tusb_desc_endpoint_t const * ep_desc)
711711
USB0.PIPESEL.WORD = num;
712712
USB0.PIPEMAXP.WORD = mps;
713713
volatile uint16_t *ctr = get_pipectr(num);
714-
*ctr = USB_PIPECTR_ACLRM;
714+
*ctr = USB_PIPECTR_ACLRM | USB_PIPECTR_SQCLR;
715715
*ctr = 0;
716716
unsigned cfg = (dir << 4) | epn;
717717
if (xfer == TUSB_XFER_BULK) {

0 commit comments

Comments
 (0)