summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-07-19 12:08:01 +0700
committerhathach <[email protected]>2021-07-19 12:08:01 +0700
commit05f59fb8edc301690042821d447c31631be8d911 (patch)
treec421fa7b86c2d6d6bfc8004ad0595b7405ea8bdf /src
parent8cae17bfc87f49c814827b0a31a4b6b6e8314f69 (diff)
clean up warning
Diffstat (limited to 'src')
-rw-r--r--src/portable/microchip/samx7x/dcd_samx7x.c2
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 3134a0597..31628583a 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);