This commit is contained in:
inxi-svn 2010-02-18 06:57:47 +00:00
parent f419ca2c96
commit c23da95276

8
inxi
View file

@ -3630,15 +3630,17 @@ get_sensors_data()
} }
} }
# need a case for no temps at all reported, like with old intels # need a case for no temps at all reported, like with old intels
else if ( temp1 == "" && temp2 == "" && cpuTemp == "" && moboTemp == "" ){ else if ( temp2 == "" && cpuTemp == "" ){
if ( temp1 == "" && moboTemp == "" ){
tempFanType=1 tempFanType=1
} }
else if ( temp1 != "" && temp2 == "" && cpuTemp == "" && moboTemp == "" ){ else if ( temp1 != "" && moboTemp == "" ){
tempFanType=1 tempFanType=1
} }
else if ( temp1 != "" && temp2 == "" && cpuTemp == "" && moboTemp != "" ){ else if ( temp1 != "" && moboTemp != "" ){
tempFanType=1 tempFanType=1
} }
}
# then get the real cpu temp, best guess is hottest is real # then get the real cpu temp, best guess is hottest is real
if ( cpuTemp != "" ){ if ( cpuTemp != "" ){