projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
temperature displayed in the unity launcher entry is the maximum current temperature...
[psensor.git]
/
src
/
unity
/
ui_unity.c
diff --git
a/src/unity/ui_unity.c
b/src/unity/ui_unity.c
index
57f61f8
..
0629db0
100644
(file)
--- a/
src/unity/ui_unity.c
+++ b/
src/unity/ui_unity.c
@@
-47,7
+47,7
@@
void ui_unity_launcher_entry_update(struct psensor **sensors,
}
if (sensors && *sensors) {
- double v =
get_max_temp(sensors
);
+ double v =
psensor_get_max_current_value(sensors, SENSOR_TYPE_TEMP
);
unity_launcher_entry_set_count(psensor_entry, v);
}