summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-03 14:45:29 +0700
committerhathach <[email protected]>2018-03-03 14:45:29 +0700
commit394302c8cb1b712d55929ae19805a96d560376db (patch)
treea0300c1614c3b1d254364cbfb4e01857dc7134e2 /hw
parentf6137903bcfc8eded20ee459947d4007d67ed689 (diff)
rename usbd_setup_received_isr to hal_dcd_setup_received
Diffstat (limited to 'hw')
-rw-r--r--hw/mcu/nxp/lpc43xx/tusb_port/dcd_lpc43xx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/mcu/nxp/lpc43xx/tusb_port/dcd_lpc43xx.c b/hw/mcu/nxp/lpc43xx/tusb_port/dcd_lpc43xx.c
index b1869c484..93f27373c 100644
--- a/hw/mcu/nxp/lpc43xx/tusb_port/dcd_lpc43xx.c
+++ b/hw/mcu/nxp/lpc43xx/tusb_port/dcd_lpc43xx.c
@@ -567,10 +567,9 @@ void dcd_isr(uint8_t coreid)
//------------- Set up Received -------------//
if (lpc_usb->ENDPTSETUPSTAT)
{ // 23.10.10.2 Operational model for setup transfers
- tusb_control_request_t control_request = p_dcd->qhd[0].setup_request;
lpc_usb->ENDPTSETUPSTAT = lpc_usb->ENDPTSETUPSTAT;// acknowledge
- usbd_setup_received_isr(coreid, &control_request);
+ hal_dcd_setup_received(coreid, (uint8_t*) &p_dcd->qhd[0].setup_request);
}
//------------- Control Request Completed -------------//
else if ( edpt_complete & 0x03 )