fix msc buf overflow because of SCSICMD_INQUIRY_SIZEOF

This commit is contained in:
sakumisu
2024-03-28 20:42:31 +08:00
parent 22121bc54d
commit 4da3550582

View File

@@ -13,7 +13,7 @@
#define DEV_FORMAT "/dev/sd%c"
USB_NOCACHE_RAM_SECTION USB_MEM_ALIGNX uint8_t g_msc_buf[32];
USB_NOCACHE_RAM_SECTION USB_MEM_ALIGNX uint8_t g_msc_buf[64];
static struct usbh_msc g_msc_class[CONFIG_USBHOST_MAX_MSC_CLASS];
static uint32_t g_devinuse = 0;