Jelajahi Sumber

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 tahun lalu
induk
melakukan
82f06b18d0
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  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;