diff options
| author | MasterPhi <[email protected]> | 2021-07-17 14:42:23 +0200 |
|---|---|---|
| committer | MasterPhi <[email protected]> | 2021-07-17 14:42:23 +0200 |
| commit | bae0d3b7bbe5145017ebd08f777fe0b8063f44b7 (patch) | |
| tree | 42e7d0973260f396e38087bbaf7bf5a285c70c73 /src/portable | |
| parent | 7e3e41952fe4c83a182dfe39e5bab89e65120485 (diff) | |
Fix build error.
Diffstat (limited to 'src/portable')
| -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 2a534b95b..aa9faa5be 100644 --- a/src/portable/microchip/samx7x/dcd_samx7x.c +++ b/src/portable/microchip/samx7x/dcd_samx7x.c @@ -531,7 +531,7 @@ 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) { uint8_t const epnum = tu_edpt_number(ep_addr); - uint8_t const dir = tu_edpt_dir(ep_addr); + (void) ep_addr; // Disable endpoint interrupt USBHS->USBHS_DEVIDR = 1 << (USBHS_DEVIDR_PEP_0_Pos + epnum); |
