summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-01-08 22:48:52 +0700
committerhathach <[email protected]>2021-01-08 22:48:52 +0700
commitd33b22d1275683cd352f3d8b729e20e6836c1ea4 (patch)
treeb360223bbbe1e29fa0c3459ff4a48a496ba134f0
parent6e6e6265e4feb797ddbd835dc1bee865d04219e6 (diff)
fix ci
-rw-r--r--src/portable/st/synopsys/dcd_synopsys.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/portable/st/synopsys/dcd_synopsys.c b/src/portable/st/synopsys/dcd_synopsys.c
index 4e385f691..548438b68 100644
--- a/src/portable/st/synopsys/dcd_synopsys.c
+++ b/src/portable/st/synopsys/dcd_synopsys.c
@@ -555,6 +555,8 @@ void dcd_disconnect(uint8_t rhport)
bool dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const * desc_edpt)
{
+ (void) rhport;
+
USB_OTG_GlobalTypeDef * usb_otg = GLOBAL_BASE(rhport);
USB_OTG_DeviceTypeDef * dev = DEVICE_BASE(rhport);
USB_OTG_OUTEndpointTypeDef * out_ep = OUT_EP_BASE(rhport);