summaryrefslogtreecommitdiff
path: root/src/portable/st
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-11-27 16:05:44 +0700
committerhathach <[email protected]>2020-11-27 16:07:13 +0700
commit8b34f2fca8f57a615f66773329fd238a9e416855 (patch)
treeabdada9a36f9472fc26877e4112440a2e3e46991 /src/portable/st
parent94527951a0fef9c1383ff9a3bbc8167f21008f4e (diff)
fix ci
Diffstat (limited to 'src/portable/st')
-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 c18dcde51..35c814460 100644
--- a/src/portable/st/synopsys/dcd_synopsys.c
+++ b/src/portable/st/synopsys/dcd_synopsys.c
@@ -515,12 +515,14 @@ void dcd_remote_wakeup(uint8_t rhport)
void dcd_connect(uint8_t rhport)
{
+ (void) rhport;
USB_OTG_DeviceTypeDef * dev = DEVICE_BASE(rhport);
dev->DCTL &= ~USB_OTG_DCTL_SDIS;
}
void dcd_disconnect(uint8_t rhport)
{
+ (void) rhport;
USB_OTG_DeviceTypeDef * dev = DEVICE_BASE(rhport);
dev->DCTL |= USB_OTG_DCTL_SDIS;
}