summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-07-09 22:13:36 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-09 13:22:00 -0700
commit848a5352c7afedd530186ae842719e8f67c8c66a (patch)
tree304260e9a579133fc96d08395ee05c224a2a2ae2 /dive.h
parent72aeb53e191c1e717aa0216387149b925cb3d52f (diff)
downloadsubsurface-848a5352c7afedd530186ae842719e8f67c8c66a.tar.gz
Add support divecomputer based TTS
Since earlier have we had support for our own calculated TTS. This adds support for holding TTS values reported by a dive computer. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index b682265fc..6f0bb99f1 100644
--- a/dive.h
+++ b/dive.h
@@ -147,6 +147,7 @@ struct sample // BASE TYPE BYTES UNITS RANGE DE
duration_t time; // uint32_t 4 seconds (0-68 yrs) elapsed dive time up to this sample
duration_t stoptime; // uint32_t 4 seconds (0-18 h) time duration of next deco stop
duration_t ndl; // uint32_t 4 seconds (0-18 h) time duration before no-deco limit
+ duration_t tts; // uint32_t 4 seconds (0-18 h) time duration to reach the surface
depth_t depth; // int32_t 4 mm (0-2000 km) dive depth of this sample
depth_t stopdepth; // int32_t 4 mm (0-2000 km) depth of next deco stop
temperature_t temperature; // int32_t 4 mdegrK (0-2 MdegK) ambient temperature