projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unity launcher counter displays the higher temperature
[psensor.git]
/
src
/
unity
/
ui_unity.c
diff --git
a/src/unity/ui_unity.c
b/src/unity/ui_unity.c
index
cb62458
..
57f61f8
100644
(file)
--- a/
src/unity/ui_unity.c
+++ b/
src/unity/ui_unity.c
@@
-47,8
+47,7
@@
void ui_unity_launcher_entry_update(struct psensor **sensors,
}
if (sensors && *sensors) {
- struct psensor *s = *sensors;
- double v = psensor_get_current_value(s);
+ double v = get_max_temp(sensors);
unity_launcher_entry_set_count(psensor_entry, v);
}