stuck in deco calculations

Robert Helling helling at lmu.de
Sun Sep 20 00:00:28 PDT 2015


Hi,

> On 20 Sep 2015, at 08:30, Robert Helling <helling at lmu.de> wrote:
> 
> 
> I figured that what is special about 33:16 is that there is a sample with 0 depth at 33:17. When I delete all 0 depth samples from the Uemis, the problem goes away. My guess (so far unconfirmed is that some part of the code uses 0 depth as some kind of in band signalling…).
> 

it is related to profile.c lines 497ff:

			if ((depth > SURFACE_THRESHOLD || lastdepth > SURFACE_THRESHOLD) &&
				    s->time.seconds > maxtime)
				maxtime = s->time.seconds;


If I comment out the if so that maxtime is assigned unconditionally, the problem goes away (but of course some 0 depth is displayed at the end).

Have to go now.

Best
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150920/6655182e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150920/6655182e/attachment.sig>


More information about the subsurface mailing list