summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2024-07-30 19:53:13 +0800
committersakumisu <[email protected]>2024-07-30 19:53:21 +0800
commite95387c558590dc8ee64a5cf501086b586c45d0e (patch)
tree34c1dad5d637ee711256b6cea652618c94c45c21
parent35a76f58bba0b7ed8497a3769035e0db3618c4c5 (diff)
update(port/hpm/usb_dc_hpm): remove phcd clear
-rw-r--r--port/hpm/usb_dc_hpm.c2
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) {
}