Expand the debug message
This commit is contained in:
parent
2698d51ada
commit
0c1d821d0a
|
@ -1817,7 +1817,7 @@ static int ups_infoval_set(hid_info_t *item, double value)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf(stdout, "%s %lf", nutvalue, value);
|
fprintf(stdout, "%s %lf %s %s\n", nutvalue, value, item->hidpath, item->info_type);
|
||||||
|
|
||||||
/* deal with boolean items */
|
/* deal with boolean items */
|
||||||
if (!strncmp(item->info_type, "BOOL", 4)) {
|
if (!strncmp(item->info_type, "BOOL", 4)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user