Displaying 1 result from an estimated 1 matches for "cps_stat_ol".
Did you mean:
cps_stat_ob
2006 Apr 25
2
Re: [nut-commits] svn commit r414 - in trunk: . drivers
...ollstatusmap[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=&temp1;
> + temp1=values[6][0];
> + tmp1=&temp1;
>
> if ((*tmp1 & CPS_STAT_OL) && !(*tmp1 & CPS_STAT_OB))
> status_set("OL");
>
> _______________________________________________
> nut-commits mailing list
> nut-commits@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-commits
>
>