summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhihong Chen <[email protected]>2024-08-16 14:59:28 +0800
committersakumisu <[email protected]>2024-08-16 21:32:09 +0800
commit07c6c296ed39c9356d7b4f2ba9ae7be525935aa3 (patch)
tree22759de55f69b35d8ec4074bc8984dc4daedb1d7
parent500367dd82844ddbbad9ad97650fca51a187a005 (diff)
HPMicro: update usb_dc_hpm.c
Signed-off-by: Zhihong Chen <[email protected]>
-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 28451f63..7cde98ac 100644
--- a/port/hpm/usb_dc_hpm.c
+++ b/port/hpm/usb_dc_hpm.c
@@ -127,7 +127,7 @@ int usbd_set_remote_wakeup(uint8_t busid)
return -1;
}
- usb_force_port_resume(g_hpm_udc[busid].handle->regs);
+ usb_force_port_resume(ptr);
while (ptr->PORTSC1 & USB_PORTSC1_FPR_MASK) {
}