Skip to content

Commit

Permalink
Merge pull request #1080 from hathach/rx-msc-compliance
Browse files Browse the repository at this point in the history
Renesas RX reset PID to DATA0 when open endpoint
  • Loading branch information
hathach committed Sep 8, 2021
2 parents 5f141a4 + d077574 commit d66d817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/portable/renesas/usba/dcd_usba.c
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ bool dcd_edpt_open(uint8_t rhport, tusb_desc_endpoint_t const * ep_desc)
USB0.PIPESEL.WORD = num;
USB0.PIPEMAXP.WORD = mps;
volatile uint16_t *ctr = get_pipectr(num);
*ctr = USB_PIPECTR_ACLRM;
*ctr = USB_PIPECTR_ACLRM | USB_PIPECTR_SQCLR;
*ctr = 0;
unsigned cfg = (dir << 4) | epn;
if (xfer == TUSB_XFER_BULK) {
Expand Down

0 comments on commit d66d817

Please sign in to comment.