From 848a5352c7afedd530186ae842719e8f67c8c66a Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Wed, 9 Jul 2014 22:13:36 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- dive.h | 1 + 1 file changed, 1 insertion(+) (limited to 'dive.h') 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 -- cgit v1.2.3-70-g09d2