summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-02 15:28:40 +0700
committerhathach <[email protected]>2018-03-02 15:28:40 +0700
commitdc12e55c568a182ac95e4e7594e0059c1b8f7f4b (patch)
tree5f4dc1d459c081ae6bf62ea781834d86f1f9d042 /hw
parentb6e337bc12c041969687ee8c13dbe5045c4096f8 (diff)
rename hal_interrupt_* to hal_usb_int_*
Diffstat (limited to 'hw')
-rw-r--r--hw/mcu/nxp/lpc43xx/usb/hal_lpc43xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/mcu/nxp/lpc43xx/usb/hal_lpc43xx.c b/hw/mcu/nxp/lpc43xx/usb/hal_lpc43xx.c
index 96ddea5f4..a36e88625 100644
--- a/hw/mcu/nxp/lpc43xx/usb/hal_lpc43xx.c
+++ b/hw/mcu/nxp/lpc43xx/usb/hal_lpc43xx.c
@@ -71,12 +71,12 @@ static tusb_error_t hal_controller_reset(uint8_t coreid)
return TUSB_ERROR_NONE;
}
-void hal_interrupt_enable(uint8_t coreid)
+void hal_usb_int_enable(uint8_t coreid)
{
NVIC_EnableIRQ(coreid ? USB1_IRQn : USB0_IRQn);
}
-void hal_interrupt_disable(uint8_t coreid)
+void hal_usb_int_disable(uint8_t coreid)
{
NVIC_DisableIRQ(coreid ? USB1_IRQn : USB0_IRQn);
}