summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-01-16 15:03:41 +0700
committerhathach <[email protected]>2026-01-16 15:03:41 +0700
commitedcc95de2e0605603d2400239587ea078631076f (patch)
tree85a220222b614bca4cfabbff346b9e54271a49e3
parent292f334bd9b9d76524bbd6b76aea3cf9e6fd24c4 (diff)
rename
-rw-r--r--src/portable/raspberrypi/rp2040/hcd_rp2040.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/portable/raspberrypi/rp2040/hcd_rp2040.c b/src/portable/raspberrypi/rp2040/hcd_rp2040.c
index 6377a5d75..8c2e93805 100644
--- a/src/portable/raspberrypi/rp2040/hcd_rp2040.c
+++ b/src/portable/raspberrypi/rp2040/hcd_rp2040.c
@@ -92,22 +92,6 @@ static hcd_endpoint_t *edpt_find(uint8_t daddr, uint8_t ep_addr) {
// static hcd_endpoint_t* epdt_find_interrupt(uint8_t )
-TU_ATTR_ALWAYS_INLINE static inline io_rw_32 *hwep_ctrl_reg_host(hw_endpoint_t *ep) {
- if (tu_edpt_number(ep->ep_addr) == 0) {
- return &usbh_dpram->epx_ctrl;
- }
- // return &usbh_dpram->int_ep_ctrl[ep->interrupt_num].ctrl;
- return NULL;
-}
-
-TU_ATTR_ALWAYS_INLINE static inline io_rw_32 *hwbuf_ctrl_reg_host(hw_endpoint_t *ep) {
- if (tu_edpt_number(ep->ep_addr) == 0) {
- return &usbh_dpram->epx_buf_ctrl;
- }
- // return &usbh_dpram->int_ep_buffer_ctrl[ep->interrupt_num].ctrl;
- return NULL;
-}
-
//--------------------------------------------------------------------+
//
//--------------------------------------------------------------------+