mirror of
https://github.com/CTCaer/hekate
synced 2024-11-16 00:49:27 +00:00
bdk: xusb: fully clear device mode ctrl register on deinit
This commit is contained in:
parent
d259d6f6d6
commit
801ebd3543
1 changed files with 1 additions and 1 deletions
|
@ -1996,7 +1996,7 @@ void xusb_end(bool reset_ep, bool only_controller)
|
|||
_xusb_disable_ep1();
|
||||
|
||||
// Disable device mode.
|
||||
XUSB_DEV_XHCI(XUSB_DEV_XHCI_CTRL) &= ~XHCI_CTRL_ENABLE;
|
||||
XUSB_DEV_XHCI(XUSB_DEV_XHCI_CTRL) = 0;
|
||||
|
||||
//! TODO: Add only controller support?
|
||||
_xusb_device_power_down();
|
||||
|
|
Loading…
Reference in a new issue