summaryrefslogtreecommitdiffstats
path: root/webservice.h
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2013-04-09 19:25:21 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-09 20:42:52 -0700
commit186c27f17c0a865c4a484437a28497b6a5765366 (patch)
tree27fdc025f3083cc11852a0b54a9449846ed1cb6f /webservice.h
parent3611b0ae2d78402593b5bd007917454a4dcb9b50 (diff)
downloadsubsurface-186c27f17c0a865c4a484437a28497b6a5765366.tar.gz
Add a simple table-based cns calculations
For dives where divecomputers haven't provided us with a cns, we calculate our cns accumulated during that dive based on a simple table. We also check if we did a dive in the prior 12 ours and grab the cns from it and calculate how much of that still affects us. [Dirk Hohndel: a couple of small changes: remove unnecessary check of cns values in the samples of the first dive computer, changed the way we determine the 'previous dive' and used the end time of that previous dive for the decay calculation] Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'webservice.h')
0 files changed, 0 insertions, 0 deletions