summaryrefslogtreecommitdiffstats
path: root/divelist.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-11-17 12:03:11 -0200
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-11-17 12:03:11 -0200
commitc486a9ee81de77faba90b5aa0b2e63eb11ec47f8 (patch)
treea8a0aaf03a7b1dc3b91d8a0cdcd166c6975b50e3 /divelist.c
parent1268e0d22597593e3276ffa574e7eeb679d0dbd2 (diff)
downloadsubsurface-c486a9ee81de77faba90b5aa0b2e63eb11ec47f8.tar.gz
Remove redundant duplicate pressure samples
At least the Suunto pressure transmitter seems to be pretty "quantisized", and it will send identical samples for a while until the pressure changes enough. Then subsurface gives this silly flat line with a sudden jump downwards, which *could* be you suddenly taking a deep breath after holding it for a while, but almost certainly it's a sensor issue. So just remove successive identical pressure readings. They aren't interesting, and subsurface will actually do a good job of interpolating it according to SAC rate instead. And they just make the XML look worse. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'divelist.c')
0 files changed, 0 insertions, 0 deletions