search for: i_ltc

Displaying 2 results from an estimated 2 matches for "i_ltc".

2018 Feb 04
0
[PATCH 3/3] OpenUPS: fix current calculations
...-hid.c b/drivers/openups-hid.c index 6bd00b6..30e9f26 100644 --- a/drivers/openups-hid.c +++ b/drivers/openups-hid.c @@ -42,6 +42,8 @@ static double vin_scale = 1; static double vout_scale= 1; static double ccharge_scale = 1; static double cdischarge_scale = 1; +static double v_in, v_bat, v_out, i_ltc; +static int on_input; static char openups_scratch_buf[20]; @@ -129,9 +131,9 @@ static const char *openups_off_fun(double value); static const char *openups_scale_vin_fun(double value); static const char *openups_scale_vout_fun(double value); -/* static const char *openups_scale_vbat_fun(d...
2018 Feb 04
5
[PATCH 0/3] OpenUPS updates
Hi, I've been checking out NUT with an OpenUPS board over the last couple of weekends, and have noticed that it doesn't seem to report sensible values. This lead me to investigate usbhid-ups and delve into various issues. As mentioned in a github issue, one of the problems is with the report descriptor - dumping this from the usbhid-ups debug output and picking through it reveals that