diff options
| -rw-r--r-- | port/hpm/usb_dc_hpm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/port/hpm/usb_dc_hpm.c b/port/hpm/usb_dc_hpm.c index 380797db..3919fa0e 100644 --- a/port/hpm/usb_dc_hpm.c +++ b/port/hpm/usb_dc_hpm.c @@ -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; } |
