A small correction for AMD K8 (family 0Fh) core temperature reading, and fan reading on older revision of IT8712F chips. This should fix Issue 42 and Issue 194.
This commit is contained in:
@@ -48,7 +48,8 @@ namespace OpenHardwareMonitor.Hardware {
|
||||
foreach (string line in lines) {
|
||||
string[] array = line.Split(new[] { ' ' },
|
||||
StringSplitOptions.RemoveEmptyEntries);
|
||||
|
||||
if (array.Length == 0)
|
||||
continue;
|
||||
if (Convert.ToInt32(array[0], 16) == (address & 0xFFF0))
|
||||
return Convert.ToByte(array[(address & 0x0F) + 1], 16);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user