diff options
| author | MasterPhi <[email protected]> | 2021-07-19 22:04:34 +0200 |
|---|---|---|
| committer | MasterPhi <[email protected]> | 2021-07-19 22:04:34 +0200 |
| commit | 895c913aa9c78204ceefb796968b0e673b23e874 (patch) | |
| tree | 12228414b11f1f60fa49e1bcfb7f9b8250b89279 /src | |
| parent | 75f61328ea8aaffa0e666c56def4efdafcb63a12 (diff) | |
| parent | 05f59fb8edc301690042821d447c31631be8d911 (diff) | |
Merge branch 'dcd_same70' of https://github.com/HiFiPhile/tinyusb into dcd_same70
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/microchip/samx7x/dcd_samx7x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/microchip/samx7x/dcd_samx7x.c b/src/portable/microchip/samx7x/dcd_samx7x.c index c91702c9f..bb69619d7 100644 --- a/src/portable/microchip/samx7x/dcd_samx7x.c +++ b/src/portable/microchip/samx7x/dcd_samx7x.c @@ -542,8 +542,8 @@ bool dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const * ep_desc) void dcd_edpt_close(uint8_t rhport, uint8_t ep_addr) { + (void) rhport; uint8_t const epnum = tu_edpt_number(ep_addr); - (void) ep_addr; // Disable endpoint interrupt USBHS->USBHS_DEVIDR = 1 << (USBHS_DEVIDR_PEP_0_Pos + epnum); |
