[PATCH] Skip unconnected ppo2 sensors
Anton Lundin
glance at acc.umu.se
Wed Sep 9 05:12:16 PDT 2015
On 04 September, 2015 - Jef Driesen wrote:
> On 2015-09-04 08:28, Jef Driesen wrote:
> >What I meant was something like the attached patch: If all three
> >values are zero, there are probably no sensors, and we ignore all
> >three ppo2 samples. But if there is at least one non-zero value, we
> >report all three values.
>
> Now with the patch attached!
>
Yea, this one is a bit better than the quite blunt one i suggested, but
still it behaves weirdly in the case you would have one cell who is
unconnected (floating connection?) in the beginning and gets connected
a couple of samples in. Then the sensors would be re-numbered.
This would be solved with having sensor id's =)
//Anton
--
Anton Lundin +46702-161604
More information about the devel
mailing list