remove ununsed macro

This commit is contained in:
sakumisu
2024-01-23 07:39:41 +08:00
parent 04a300d803
commit 6b0a0135ac

View File

@@ -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.