summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2022-03-23 14:33:39 +0800
committersakumisu <[email protected]>2022-03-23 14:33:51 +0800
commitbe3e9d542555319d79d11f1d6ac9938d75d2bd9f (patch)
treeefdfe5d757c14d5ee0696fff9890287e277ccb58
parenteb8048e98e4cecf1b75a1ec46eed6f705166ae65 (diff)
expand msc tx_buffer to 64
-rw-r--r--class/msc/usbh_msc.c2
1 files changed, 1 insertions, 1 deletions
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;