2011/10/2 Charles Lepple <clep...@gmail.com>: > On Sep 30, 2011, at 5:51 PM, Tim Gould wrote: > >> ups.status: ALARM OB LB RB > > It appears that my trick for matching the 1e-7 didn't work because that > structure only stores integers, not floating point numbers. Oops. > > Arnaud: since this scaling issue has come up before, should we look at some > sort of generic scale correction system at another layer in usbhid-ups?
that would probably be a better way. though we have to take a lot of care not to make regression here... cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/ _______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser