diff options
| author | hathach <[email protected]> | 2020-11-27 16:05:44 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-11-27 16:07:13 +0700 |
| commit | 8b34f2fca8f57a615f66773329fd238a9e416855 (patch) | |
| tree | abdada9a36f9472fc26877e4112440a2e3e46991 /src/portable/st | |
| parent | 94527951a0fef9c1383ff9a3bbc8167f21008f4e (diff) | |
fix ci
Diffstat (limited to 'src/portable/st')
| -rw-r--r-- | src/portable/st/synopsys/dcd_synopsys.c | 2 |
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; } |
