diff --git a/drivers/usbhid-ups.c b/drivers/usbhid-ups.c index ba0083c..9b496d2 100644 --- a/drivers/usbhid-ups.c +++ b/drivers/usbhid-ups.c @@ -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);