diff options
| author | sakumisu <[email protected]> | 2024-09-08 18:18:16 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2024-09-08 22:11:38 +0800 |
| commit | e6fde5efab0acd68075f5f75b552eca4e4dbaa14 (patch) | |
| tree | d4ded95e2a5f1c6b4c65faca390f30c31775d01b /osal | |
| parent | 0487af69003cb2c6ed9229e75b7ec631fbe9272a (diff) | |
fix(port/dwc2): fix dwc2 rx fifo size, remove divided by 4v1.4.0-rc2
Diffstat (limited to 'osal')
| -rw-r--r-- | osal/idf/usb_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osal/idf/usb_config.h b/osal/idf/usb_config.h index a3d79456..f2cf940a 100644 --- a/osal/idf/usb_config.h +++ b/osal/idf/usb_config.h @@ -249,7 +249,7 @@ * (largest USB packet used / 4) + 1 for status information + 1 transfer complete + * 1 location each for Bulk/Control endpoint for handling NAK/NYET scenario */ -#define CONFIG_USB_DWC2_RX_FIFO_SIZE ((200 - CONFIG_USB_DWC2_NPTX_FIFO_SIZE - CONFIG_USB_DWC2_PTX_FIFO_SIZE) / 4) +#define CONFIG_USB_DWC2_RX_FIFO_SIZE ((200 - CONFIG_USB_DWC2_NPTX_FIFO_SIZE - CONFIG_USB_DWC2_PTX_FIFO_SIZE)) #elif CONFIG_IDF_TARGET_ESP32C5 || CONFIG_IDF_TARGET_ESP32P4 // todo: check c5, p4 in later |
