mirror of
https://github.com/sakumisu/CherryUSB.git
synced 2025-05-09 00:21:44 +08:00
port: hpmicro: fix usb_dc_deinit()
- fix usb_dc_deinit() Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
This commit is contained in:
parent
6bc6b06076
commit
c4a65146e8
@ -81,6 +81,10 @@ int usb_dc_init(void)
|
||||
|
||||
int usb_dc_deinit(void)
|
||||
{
|
||||
intc_m_disable_irq(CONFIG_HPM_USBD_IRQn);
|
||||
|
||||
usb_device_deinit(g_hpm_udc.handle);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user