]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Do some basic sanity testing on the libdivecomputer gasmix data
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 12 Sep 2011 20:31:43 +0000 (13:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 12 Sep 2011 20:31:43 +0000 (13:31 -0700)
It's quite often obvious crap for the "doesn't exist" or "plain air" case.

So if it's reporting 100% O2, we just ignore it.  Sure, it could be
right, but for the dives I have I know it's just libdivecomputer being
wrong.

Same goes for obvious crap like 255% Helium.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found