瀏覽代碼

Fix for more than 2 devices via USB MSC

Michael McMaster 9 年之前
父節點
當前提交
0211dabe35
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 3 0
      lib/SCSI2SD/CHANGELOG
  2. 1 1
      lib/SCSI2SD/src/firmware/usb_device/usbd_msc_bot.c

+ 3 - 0
lib/SCSI2SD/CHANGELOG

@@ -1,3 +1,6 @@
+20160815		6.0.6
+	- Fix performance bugs
+
 20160814		6.05
 	- More SCSI bug fixes (some timing issues resolved in the FPGA image)
 	- Firmware update support using scsi2sd-util6.

+ 1 - 1
lib/SCSI2SD/src/firmware/usb_device/usbd_msc_bot.c

@@ -236,7 +236,7 @@ static void  MSC_BOT_CBW_Decode (USBD_HandleTypeDef  *pdev)
 
 	if ((USBD_LL_GetRxDataSize (pdev ,MSC_EPOUT_ADDR) != USBD_BOT_CBW_LENGTH) ||
 		(hmsc->cbw.dSignature != USBD_BOT_CBW_SIGNATURE)||
-		(hmsc->cbw.bLUN > 1) || 
+		//(hmsc->cbw.bLUN > 1) || 
 		(hmsc->cbw.bCBLength < 1) || 
 		(hmsc->cbw.bCBLength > 16))
 	{