mirror of
https://github.com/sakumisu/CherryUSB.git
synced 2025-05-09 00:21:44 +08:00
update(port/hpm/usb_dc_hpm): remove phcd clear
This commit is contained in:
parent
35a76f58bb
commit
e95387c558
@ -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) {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user