HPMicro: update usb_dc_hpm.c

Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
This commit is contained in:
Zhihong Chen 2024-08-16 14:59:28 +08:00 committed by sakumisu
parent 500367dd82
commit 07c6c296ed

View File

@ -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) {
}