Procházet zdrojové kódy

Fix for more than 2 devices via USB MSC

Michael McMaster před 9 roky
rodič
revize
0211dabe35

+ 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))
 	{