From: Linus Torvalds Date: Thu, 17 Nov 2011 14:03:11 +0000 (-0200) Subject: Remove redundant duplicate pressure samples X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=c486a9ee81de77faba90b5aa0b2e63eb11ec47f8;hp=c486a9ee81de77faba90b5aa0b2e63eb11ec47f8;p=ext%2Fsubsurface.git 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 ---