diff options
| author | hathach <[email protected]> | 2018-03-06 17:16:43 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-06 17:16:43 +0700 |
| commit | 792f51a927a85c27d4e26c0a6dc8202280613991 (patch) | |
| tree | 656ba255d8bcd50f972e21edffaf66115472d5de /hw | |
| parent | 52de428fbe036aa98cffe967d891f2e7db6c9ec3 (diff) | |
rename hal_dcd_pipe_stall()
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/mcu/nxp/lpc43xx/tusb_port/dcd_lpc43xx.c | 4 |
1 files changed, 1 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 933dda06c..f742548c7 100644 --- a/hw/mcu/nxp/lpc43xx/tusb_port/dcd_lpc43xx.c +++ b/hw/mcu/nxp/lpc43xx/tusb_port/dcd_lpc43xx.c @@ -371,13 +371,11 @@ static inline volatile uint32_t * get_reg_control_addr(uint8_t coreid, uint8_t p return &(LPC_USB[coreid]->ENDPTCTRL0) + edpt_phy2log(physical_endpoint);
}
-tusb_error_t dcd_pipe_stall(endpoint_handle_t edpt_hdl)
+void hal_dcd_pipe_stall(endpoint_handle_t edpt_hdl)
{
volatile uint32_t * reg_control = get_reg_control_addr(edpt_hdl.coreid, edpt_hdl.index);
(*reg_control) |= ENDPTCTRL_MASK_STALL << (edpt_hdl.index & 0x01 ? 16 : 0);
-
- return TUSB_ERROR_NONE;
}
tusb_error_t dcd_pipe_clear_stall(uint8_t coreid, uint8_t edpt_addr)
|
