diff options
| author | sakumisu <[email protected]> | 2024-07-30 19:53:13 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2024-07-30 19:53:21 +0800 |
| commit | e95387c558590dc8ee64a5cf501086b586c45d0e (patch) | |
| tree | 34c1dad5d637ee711256b6cea652618c94c45c21 | |
| parent | 35a76f58bba0b7ed8497a3769035e0db3618c4c5 (diff) | |
update(port/hpm/usb_dc_hpm): remove phcd clear
| -rw-r--r-- | port/hpm/usb_dc_hpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/port/hpm/usb_dc_hpm.c b/port/hpm/usb_dc_hpm.c index a384a9ed..28451f63 100644 --- a/port/hpm/usb_dc_hpm.c +++ b/port/hpm/usb_dc_hpm.c @@ -126,7 +126,7 @@ int usbd_set_remote_wakeup(uint8_t busid) if (!usb_get_suspend_status(ptr)) { return -1; } - ptr->PORTSC1 &= ~USB_PORTSC1_PHCD_MASK; + usb_force_port_resume(g_hpm_udc[busid].handle->regs); while (ptr->PORTSC1 & USB_PORTSC1_FPR_MASK) { } |
