summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {
}