Re: Fix upd(4) sensor refresh

2014-12-20 Thread David Higgs
On Fri, Dec 19, 2014 at 8:55 AM, Martin Pieuchot wrote: > On 19/12/14(Fri) 08:04, David Higgs wrote: >> Split upd_update_sensors() behavior to gather all values prior to updating >> sensor contents. >> >> Because sensors were updated in report_ID order, it could take multiple >> passes of upd_re

Re: Fix upd(4) sensor refresh

2014-12-19 Thread Martin Pieuchot
On 19/12/14(Fri) 08:04, David Higgs wrote: > Split upd_update_sensors() behavior to gather all values prior to updating > sensor contents. > > Because sensors were updated in report_ID order, it could take multiple > passes of upd_refresh() to update some sensors. Specifically, > battery-relat

Fix upd(4) sensor refresh

2014-12-19 Thread David Higgs
Split upd_update_sensors() behavior to gather all values prior to updating sensor contents. Because sensors were updated in report_ID order, it could take multiple passes of upd_refresh() to update some sensors. Specifically, battery-related sensors “prior” to a change in BatteryPresent would