From 6b0a0135ac53a82a9621df3283d35a89ddf510ca Mon Sep 17 00:00:00 2001 From: sakumisu <1203593632@qq.com> Date: Tue, 23 Jan 2024 07:39:41 +0800 Subject: remove ununsed macro --- port/fsdev/usb_fsdev_reg.h | 3 --- 1 file changed, 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. -- cgit v1.3.1