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