diff options
| author | hathach <[email protected]> | 2019-11-28 13:39:29 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-11-28 13:39:29 +0700 |
| commit | d7558e8a0f12c685f2690c985e5f75df0777065b (patch) | |
| tree | 2bc43b629a9e184319592afbd65e49fadb3280da /src/portable/st/synopsys | |
| parent | ac701c398b4e9a43eefe0ee0be38579ca17535df (diff) | |
use dcd_edpt0_status_complete() to set address without blocking for samd21/samd51/stm32_fsdev
Diffstat (limited to 'src/portable/st/synopsys')
| -rw-r--r-- | src/portable/st/synopsys/dcd_synopsys.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/portable/st/synopsys/dcd_synopsys.c b/src/portable/st/synopsys/dcd_synopsys.c index 7929b6916..e02580e4f 100644 --- a/src/portable/st/synopsys/dcd_synopsys.c +++ b/src/portable/st/synopsys/dcd_synopsys.c @@ -236,7 +236,6 @@ void dcd_set_address (uint8_t rhport, uint8_t dev_addr) (void) rhport; USB_OTG_DeviceTypeDef * dev = DEVICE_BASE; - dev->DCFG |= (dev_addr << USB_OTG_DCFG_DAD_Pos) & USB_OTG_DCFG_DAD_Msk; // Response with status after changing device address |
