mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: All refactor in DiscImageChef.Core.
This commit is contained in:
@@ -43,14 +43,11 @@ namespace DiscImageChef.Core.Devices.Report
|
||||
{
|
||||
if(report == null) return;
|
||||
|
||||
byte[] buffer;
|
||||
double duration;
|
||||
uint timeout = 5;
|
||||
const uint TIMEOUT = 5;
|
||||
|
||||
DicConsole.WriteLine("Querying ATAPI IDENTIFY...");
|
||||
|
||||
AtaErrorRegistersCHS errorRegs;
|
||||
dev.AtapiIdentify(out buffer, out errorRegs, timeout, out duration);
|
||||
dev.AtapiIdentify(out byte[] buffer, out _, TIMEOUT, out _);
|
||||
|
||||
if(!Identify.Decode(buffer).HasValue) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user