mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Redo Reformat and cleanup.
Rider EAP was having a bug interpreting .editorconfig that didn't generate the code style as we wanted. This is now done with Rider-stable.
This commit is contained in:
@@ -63,12 +63,14 @@ public partial class Device
|
||||
|
||||
if((statusRegisters.Status & 0x23) == 0)
|
||||
{
|
||||
lba = (ulong)((statusRegisters.LbaHighCurrent << 16) + (statusRegisters.LbaMidCurrent << 8) +
|
||||
lba = (ulong)((statusRegisters.LbaHighCurrent << 16) +
|
||||
(statusRegisters.LbaMidCurrent << 8) +
|
||||
statusRegisters.LbaLowCurrent);
|
||||
|
||||
lba <<= 24;
|
||||
|
||||
lba += (ulong)((statusRegisters.LbaHighPrevious << 16) + (statusRegisters.LbaMidPrevious << 8) +
|
||||
lba += (ulong)((statusRegisters.LbaHighPrevious << 16) +
|
||||
(statusRegisters.LbaMidPrevious << 8) +
|
||||
statusRegisters.LbaLowPrevious);
|
||||
}
|
||||
|
||||
@@ -246,12 +248,14 @@ public partial class Device
|
||||
|
||||
if((statusRegisters.Status & 0x23) == 0)
|
||||
{
|
||||
lba = (ulong)((statusRegisters.LbaHighCurrent << 16) + (statusRegisters.LbaMidCurrent << 8) +
|
||||
lba = (ulong)((statusRegisters.LbaHighCurrent << 16) +
|
||||
(statusRegisters.LbaMidCurrent << 8) +
|
||||
statusRegisters.LbaLowCurrent);
|
||||
|
||||
lba <<= 24;
|
||||
|
||||
lba += (ulong)((statusRegisters.LbaHighPrevious << 16) + (statusRegisters.LbaMidPrevious << 8) +
|
||||
lba += (ulong)((statusRegisters.LbaHighPrevious << 16) +
|
||||
(statusRegisters.LbaMidPrevious << 8) +
|
||||
statusRegisters.LbaLowPrevious);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user