This commit is contained in:
Arkadiusz Zachert
2016-05-19 21:38:28 +02:00
parent b8a66b9cb7
commit 95fe021d6a
+3 -2
View File
@@ -50,8 +50,9 @@ namespace OpenHardwareMonitor.Hardware.HDD {
new SmartAttribute(0xC9, SmartNames.SupercapStatus),
new SmartAttribute(0xCA, SmartNames.ExceptionModeStatus),
new SmartAttribute(0xEB, SmartNames.PowerRecoveryCount),
new SmartAttribute(0xF1, SmartNames.TotalLBAWritten)
};
new SmartAttribute(0xF1, SmartNames.TotalLBAWritten, (byte[] r, byte v, IReadOnlyArray<IParameter> p)
=> { return RawToInt(r, v, p) * 512 / 1024 / 1024 / 1024; },
SensorType.Data, 0, SmartNames.TotalLBAWritten) };
public SSDSamsung(ISmart smart, string name, string firmwareRevision,
int index, ISettings settings)