From be3e9d542555319d79d11f1d6ac9938d75d2bd9f Mon Sep 17 00:00:00 2001 From: sakumisu <1203593632@qq.com> Date: Wed, 23 Mar 2022 14:33:39 +0800 Subject: [PATCH] expand msc tx_buffer to 64 --- class/msc/usbh_msc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/msc/usbh_msc.c b/class/msc/usbh_msc.c index d265534c..47685888 100644 --- a/class/msc/usbh_msc.c +++ b/class/msc/usbh_msc.c @@ -345,7 +345,7 @@ int usbh_msc_connect(struct usbh_hubport *hport, uint8_t intf) hport->config.intf[intf].priv = msc_class; - msc_class->tx_buffer = usb_iomalloc(32); + msc_class->tx_buffer = usb_iomalloc(64); if (msc_class->tx_buffer == NULL) { USB_LOG_ERR("Fail to alloc tx_buffer\r\n"); return -ENOMEM;