From edf5148d4924e99577a0c11c258a032a9247d414 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Wed, 11 Nov 2020 04:19:07 +0000 Subject: [PATCH] General code clean-up, refactor and commenting. --- Structs/Devices/ATA/Identify.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Structs/Devices/ATA/Identify.cs b/Structs/Devices/ATA/Identify.cs index 007a7b752..edd90f882 100644 --- a/Structs/Devices/ATA/Identify.cs +++ b/Structs/Devices/ATA/Identify.cs @@ -1033,8 +1033,8 @@ namespace Aaru.CommonTypes.Structs.Devices.ATA for(int i = 0; i < length; i += 2) { - outbuf[i] = buffer[offset + i + 1]; - outbuf[i + 1] = buffer[offset + i]; + outbuf[i] = buffer[offset + i + 1]; + outbuf[i + 1] = buffer[offset + i]; } string outStr = StringHandlers.CToString(outbuf);