Subsurface looping at end of download from DC

Tim Wootton tim at tee-jay.demon.co.uk
Mon Oct 14 23:34:28 UTC 2013


On 15/10/13 06:31, Dirk Hohndel wrote:
> Oh, this reminds me. For reasons that are a bit to silly to explain in
> much detail... while we STORE all pressures in mbar as an int, when
> calling any of the deco functions (so deco_allowed_depth, etc), the
> pressure is given in bar as double...
>
> yes, we should probably change that, but that's what it is currently
> expecting... is this maybe the issue at hand?
So what units does subsurface expect from libdivecomputer? The
libdivecompter patch I put in to support surface pressure on my DC
returns mbar is that wrong? Should it be bar?



More information about the subsurface mailing list