Displaying 1 result from an estimated 1 matches for "battremain".
2006 Apr 25
2
Re: [nut-commits] svn commit r414 - in trunk: . drivers
...> Modified: trunk/drivers/cpsups.c
> ==============================================================================
> --- trunk/drivers/cpsups.c (original)
> +++ trunk/drivers/cpsups.c Mon Apr 24 20:45:39 2006
> @@ -147,6 +147,7 @@
> char values[20][200], *pos;
> int i = 0, battremain, length, rseconds;
> double rminutes;
> + char temp1, *tmp1;
>
> while ((pollstatusmap[i].end != 0))
> {
> @@ -159,8 +160,8 @@
> /* These are used to hold status of UPS.
> * val1 = online/onbattery status
> */
> - char temp1=values[6][0];
> - char *tmp1=&...