[PATCH] Profile support for multiple concurrent pressure sensors

Linus Torvalds torvalds at linux-foundation.org
Sun Jul 30 10:16:24 PDT 2017


On Sun, Jul 30, 2017 at 12:41 AM, Gaetan Bisson <bisson at archlinux.org> wrote:
>
> This commit actually breaks the profile for all my dives. :)

Ahh, I think I see why.

What happens is that we actually do populate the gas changes, but we
do it by populating the end pressure to the time of the last sample.

And with the OSTC3, the last sample is actually way beyond the end of
the dive, because the OSTC3 keeps doing samples for a long time after
you've already surfaced.

So when we try to populate the fend pressure data for your dive, we
don't see any plot entries for that time, and we fail.

Easily fixed, I think. Let me try.

               Linus


More information about the subsurface mailing list