Add debug message

This commit is contained in:
Anton 2023-09-15 18:12:26 +03:00
parent 3c44e8d282
commit 2698d51ada

View File

@ -1817,6 +1817,8 @@ static int ups_infoval_set(hid_info_t *item, double value)
return -1;
}
fprintf(stdout, "%s %lf", nutvalue, value);
/* deal with boolean items */
if (!strncmp(item->info_type, "BOOL", 4)) {
process_boolean_info(nutvalue);