Fix a bug where usb2 doesn't work for ch58x

This commit is contained in:
Chen Leeren
2023-02-04 20:39:18 +08:00
committed by sakumisu
parent 84dfcef639
commit b00fd55aff

View File

@@ -64,7 +64,7 @@
EPn_TX_LEN(epid) = len
/*!< Get epid ep rx len */
#define EPn_GET_RX_LEN(epid) \
R8_USB_RX_LEN
CH58x_USBFS_DEV->USB_RX_LEN
/*!< ep nums */
#ifndef USB_NUM_BIDIR_ENDPOINTS