1.1 --- a/Hardware/CPU/AMD10CPU.cs Tue Sep 21 10:33:28 2010 +0000
1.2 +++ b/Hardware/CPU/AMD10CPU.cs Tue Sep 21 20:32:36 2010 +0000
1.3 @@ -39,9 +39,9 @@
1.4
1.5 internal sealed class AMD10CPU : GenericCPU {
1.6
1.7 - private uint pciAddress;
1.8 + private readonly uint pciAddress;
1.9
1.10 - private Sensor coreTemperature;
1.11 + private readonly Sensor coreTemperature;
1.12
1.13 private const ushort PCI_AMD_VENDOR_ID = 0x1022;
1.14 private const ushort PCI_AMD_10H_MISCELLANEOUS_DEVICE_ID = 0x1203;
1.15 @@ -54,7 +54,7 @@
1.16 // AMD family 10h processors support only one temperature sensor
1.17 coreTemperature = new Sensor(
1.18 "Core" + (coreCount > 1 ? " #1 - #" + coreCount : ""), 0,
1.19 - SensorType.Temperature, this, new ParameterDescription[] {
1.20 + SensorType.Temperature, this, new [] {
1.21 new ParameterDescription("Offset [°C]", "Temperature offset.", 0)
1.22 }, settings);
1.23