diff options
| author | MasterPhi <[email protected]> | 2021-07-21 09:42:26 +0200 |
|---|---|---|
| committer | MasterPhi <[email protected]> | 2021-07-21 09:42:26 +0200 |
| commit | 9c26c0c01e244310dc0e90573f39be7dc7250ead (patch) | |
| tree | 452167e2f13d9fa49dd3bbff3dbc0b4918522837 /src | |
| parent | eec927ea959d6d972c62d60fa634df227e196b36 (diff) | |
Remove redundant TX irq.
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/microchip/samx7x/dcd_samx7x.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/portable/microchip/samx7x/dcd_samx7x.c b/src/portable/microchip/samx7x/dcd_samx7x.c index de1fd2566..35d970b99 100644 --- a/src/portable/microchip/samx7x/dcd_samx7x.c +++ b/src/portable/microchip/samx7x/dcd_samx7x.c @@ -530,13 +530,6 @@ bool dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const * ep_desc) if (USBHS_DEVEPTISR_CFGOK == (USBHS->USBHS_DEVEPTISR[epnum] & USBHS_DEVEPTISR_CFGOK)) { USBHS->USBHS_DEVIER = ((0x01 << epnum) << USBHS_DEVIER_PEP_0_Pos); - if (dir) - { - USBHS->USBHS_DEVEPTICR[epnum] = USBHS_DEVEPTICR_TXINIC; - USBHS->USBHS_DEVEPTIER[epnum] = USBHS_DEVEPTIER_TXINES; - } else - { - } return true; } else { |
