summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2024-01-23 07:39:41 +0800
committersakumisu <[email protected]>2024-01-23 07:39:41 +0800
commit6b0a0135ac53a82a9621df3283d35a89ddf510ca (patch)
tree0deacc4527f059782bc165c3f17021de4c4379a3
parent04a300d80306fa57e412044d52a00876a9ce81ce (diff)
remove ununsed macro
-rw-r--r--port/fsdev/usb_fsdev_reg.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/port/fsdev/usb_fsdev_reg.h b/port/fsdev/usb_fsdev_reg.h
index d90595b3..1f3604fa 100644
--- a/port/fsdev/usb_fsdev_reg.h
+++ b/port/fsdev/usb_fsdev_reg.h
@@ -1473,9 +1473,6 @@ typedef struct
*_wRegVal = ((wAddr) >> 1) << 1; \
} while(0) /* PCD_SET_EP_RX_ADDRESS */
-#define PCD_EP_TX_ADDRESS(USBx, bEpNum) ((uint16_t *)((uint32_t)((((USBx)->BTABLE+(bEpNum)*8)+ ((uint32_t)(USBx) + 0x400U)))))
-#define PCD_EP_RX_ADDRESS(USBx, bEpNum) ((uint16_t *)((uint32_t)((((USBx)->BTABLE+(bEpNum)*8+4)+ ((uint32_t)(USBx) + 0x400U)))))
-
/**
* @brief Gets address of the tx/rx buffer.
* @param USBx USB peripheral instance register address.