Quellcode durchsuchen

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 vor 2 Jahren
Ursprung
Commit
82f06b18d0
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  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;