mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 18:45:10 +00:00
oops, remove debug stuff
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1246 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
4ca31d2ce4
commit
7996b9d05c
@ -5344,7 +5344,7 @@ static void generate_text_internal(char *p, int p_max_size,
|
|||||||
#endif
|
#endif
|
||||||
#ifdef HDDTEMP
|
#ifdef HDDTEMP
|
||||||
OBJ(hddtemp) {
|
OBJ(hddtemp) {
|
||||||
// if (obj->data.hddtemp.update_time < current_update_time - 30) {
|
if (obj->data.hddtemp.update_time < current_update_time - 30) {
|
||||||
char *str = get_hddtemp_info(obj->data.hddtemp.dev,
|
char *str = get_hddtemp_info(obj->data.hddtemp.dev,
|
||||||
obj->data.hddtemp.addr, obj->data.hddtemp.port, &obj->data.hddtemp.unit);
|
obj->data.hddtemp.addr, obj->data.hddtemp.port, &obj->data.hddtemp.unit);
|
||||||
if (str) {
|
if (str) {
|
||||||
@ -5353,7 +5353,7 @@ static void generate_text_internal(char *p, int p_max_size,
|
|||||||
obj->data.hddtemp.temp[0] = 0;
|
obj->data.hddtemp.temp[0] = 0;
|
||||||
}
|
}
|
||||||
obj->data.hddtemp.update_time = current_update_time;
|
obj->data.hddtemp.update_time = current_update_time;
|
||||||
// }
|
}
|
||||||
if (!obj->data.hddtemp.temp) {
|
if (!obj->data.hddtemp.temp) {
|
||||||
snprintf(p, p_max_size, "N/A");
|
snprintf(p, p_max_size, "N/A");
|
||||||
} else if (obj->data.hddtemp.unit == '*') {
|
} else if (obj->data.hddtemp.unit == '*') {
|
||||||
|
Loading…
Reference in New Issue
Block a user