projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4baa2d7
)
fixed type
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Wed, 20 Jul 2011 11:24:09 +0000
(11:24 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Wed, 20 Jul 2011 11:24:09 +0000
(11:24 +0000)
www/psensor.js
patch
|
blob
|
history
diff --git
a/www/psensor.js
b/www/psensor.js
index
79757ea
..
2092509
100644
(file)
--- a/
www/psensor.js
+++ b/
www/psensor.js
@@
-31,12
+31,14
@@
function type_to_str(stype) {
stype_str = "NVidia";
} else if (stype & 0x0400) {
stype_str = "HDD";
- } else if (stype & 0x
08
00) {
- stype_str = "
Fan
";
+ } else if (stype & 0x
10
00) {
+ stype_str = "
AMD
";
}
if (stype & 0x0001) {
- stype_str += " Temperature";
+ stype_str += " Temperature";
+ } else if (stype & 0x0002) {
+ stype_str += " Fan";
}
return stype_str;