summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-03 16:24:43 +0700
committerhathach <[email protected]>2018-03-03 16:24:43 +0700
commit185b240f033fc692e3dfe1593895a9c28ee41c7b (patch)
treeae9e82b2df3fd9d9c95c322e2479c09b54db2dce /hw
parent394302c8cb1b712d55929ae19805a96d560376db (diff)
rename usbd_dcd_bus_event_isr to hal_dcd_bus_event
Diffstat (limited to 'hw')
-rw-r--r--hw/mcu/nxp/lpc43xx/tusb_port/dcd_lpc43xx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/mcu/nxp/lpc43xx/tusb_port/dcd_lpc43xx.c b/hw/mcu/nxp/lpc43xx/tusb_port/dcd_lpc43xx.c
index 93f27373c..f5b47ebd2 100644
--- a/hw/mcu/nxp/lpc43xx/tusb_port/dcd_lpc43xx.c
+++ b/hw/mcu/nxp/lpc43xx/tusb_port/dcd_lpc43xx.c
@@ -534,7 +534,7 @@ void dcd_isr(uint8_t coreid)
if (int_status & INT_MASK_RESET)
{
bus_reset(coreid);
- usbd_dcd_bus_event_isr(0, USBD_BUS_EVENT_RESET);
+ hal_dcd_bus_event(coreid, USBD_BUS_EVENT_RESET);
}
if (int_status & INT_MASK_SUSPEND)
@@ -543,7 +543,7 @@ void dcd_isr(uint8_t coreid)
{ // Note: Host may delay more than 3 ms before and/or after bus reset before doing enumeration.
if ((lpc_usb->DEVICEADDR >> 25) & 0x0f)
{
- usbd_dcd_bus_event_isr(0, USBD_BUS_EVENT_SUSPENDED);
+ hal_dcd_bus_event(0, USBD_BUS_EVENT_SUSPENDED);
}
}
}
@@ -553,7 +553,7 @@ void dcd_isr(uint8_t coreid)
// {
// if ( !(lpc_usb->PORTSC1_D & PORTSC_CURRENT_CONNECT_STATUS_MASK) )
// {
-// usbd_dcd_bus_event_isr(0, USBD_BUS_EVENT_UNPLUGGED);
+// hal_dcd_bus_event(0, USBD_BUS_EVENT_UNPLUGGED);
// }
// }