mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
More pattern matching.
This commit is contained in:
@@ -77,8 +77,7 @@ public partial class Device
|
||||
if(dev is null)
|
||||
return null;
|
||||
|
||||
if(dev.Type == DeviceType.SCSI ||
|
||||
dev.Type == DeviceType.ATAPI)
|
||||
if(dev.Type is DeviceType.SCSI or DeviceType.ATAPI)
|
||||
{
|
||||
dev.ScsiInquiry(out byte[] inqBuf, out _);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user