diff options
| author | Ha Thach <[email protected]> | 2023-01-07 20:42:19 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-01-07 20:42:19 +0700 |
| commit | 79e5d7aa69ee5912bcc1a561ca452771440eb10f (patch) | |
| tree | eb213fd01892ec5dd9c44cb92bdb36f357b886e1 /src/device | |
| parent | 6e23c596ccb381aa606103727d2f19247822f3a3 (diff) | |
| parent | c84de8f06bb42de78fec22dec8026f3a0c0899cc (diff) | |
Merge pull request #1789 from hathach/fix-fifo-memory-overflow
Fix fifo memory overflow
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/usbd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c index f652a878e..6e0c6710d 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -388,6 +388,8 @@ bool tud_init (uint8_t rhport) TU_LOG(USBD_DBG, "USBD init on controller %u\r\n", rhport); TU_LOG_INT(USBD_DBG, sizeof(usbd_device_t)); + TU_LOG_INT(USBD_DBG, sizeof(tu_fifo_t)); + TU_LOG_INT(USBD_DBG, sizeof(tu_edpt_stream_t)); tu_varclr(&_usbd_dev); |
