Explorar o código

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 %!s(int64=2) %!d(string=hai) anos
pai
achega
82f06b18d0
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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;