Fix a bug where usb2 doesn't work for ch58x
This commit is contained in:
@@ -64,7 +64,7 @@
|
|||||||
EPn_TX_LEN(epid) = len
|
EPn_TX_LEN(epid) = len
|
||||||
/*!< Get epid ep rx len */
|
/*!< Get epid ep rx len */
|
||||||
#define EPn_GET_RX_LEN(epid) \
|
#define EPn_GET_RX_LEN(epid) \
|
||||||
R8_USB_RX_LEN
|
CH58x_USBFS_DEV->USB_RX_LEN
|
||||||
|
|
||||||
/*!< ep nums */
|
/*!< ep nums */
|
||||||
#ifndef USB_NUM_BIDIR_ENDPOINTS
|
#ifndef USB_NUM_BIDIR_ENDPOINTS
|
||||||
|
|||||||
Reference in New Issue
Block a user