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

18
inxi
View file

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