diff -r fbf22ccd9d6f -r 0ee888c485d5 Hardware/CPU/AMD0FCPU.cs --- a/Hardware/CPU/AMD0FCPU.cs Tue Sep 21 10:33:28 2010 +0000 +++ b/Hardware/CPU/AMD0FCPU.cs Tue Sep 21 20:32:36 2010 +0000 @@ -41,10 +41,10 @@ namespace OpenHardwareMonitor.Hardware.CPU { internal sealed class AMD0FCPU : GenericCPU { - private uint pciAddress; - private Sensor[] coreTemperatures; - private Sensor[] coreClocks; - private Sensor busClock; + private readonly uint pciAddress; + private readonly Sensor[] coreTemperatures; + private readonly Sensor[] coreClocks; + private readonly Sensor busClock; private const ushort PCI_AMD_VENDOR_ID = 0x1022; private const ushort PCI_AMD_0FH_MISCELLANEOUS_DEVICE_ID = 0x1103; @@ -71,8 +71,7 @@ for (int i = 0; i < coreCount; i++) { coreTemperatures[i] = new Sensor("Core #" + (i + 1), i, SensorType.Temperature, - this, new ParameterDescription[] { - new ParameterDescription("Offset [°C]", + this, new [] { new ParameterDescription("Offset [°C]", "Temperature offset of the thermal sensor.\n" + "Temperature = Value + Offset.", offset) }, settings); @@ -97,9 +96,7 @@ } protected override uint[] GetMSRs() { - return new uint[] { - FIDVID_STATUS - }; + return new [] { FIDVID_STATUS }; } public override void Update() {