Kaynağa Gözat

Output mode page 0x0E at any compatibility level.

RP2040 scsiPhy.cpp drops to SCSI1 compatibility when IDENTIFY messages are not received, preventing this page from being sent to some hosts (68k Macs) otherwise expecting it.
saybur 2 yıl önce
ebeveyn
işleme
82f06b18d0
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. 1 2
      lib/SCSI2SD/src/firmware/mode.c

+ 1 - 2
lib/SCSI2SD/src/firmware/mode.c

@@ -514,8 +514,7 @@ static void doModeSense(
 	}
 
 #ifdef ENABLE_AUDIO_OUTPUT
-	if ((scsiDev.compatMode >= COMPAT_SCSI2)
-		&& (scsiDev.target->cfg->deviceType == S2S_CFG_OPTICAL)
+	if ((scsiDev.target->cfg->deviceType == S2S_CFG_OPTICAL)
 		&& (pageCode == 0x0E || pageCode == 0x3F))
 	{
 		pageFound = 1;