summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-11-10 09:37:23 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-11-10 11:54:14 +0100
commitcc53a0cf5c4748853884eb92b100f0e406b015ae (patch)
treebe7f89e921058162ca654dc02f699b1b62688e95 /dive.h
parent4da31687688da9f89a5ef6288ea8920736f2ec1b (diff)
downloadsubsurface-cc53a0cf5c4748853884eb92b100f0e406b015ae.tar.gz
Use correct surface pressure to detect ceiling with Uemis Zurich
The dive data contains the surface pressure prior to the dive, and that is what we need to compare p_amb_tol to, not the standard 1013mbar. 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 d9f587a79..114ab9cbf 100644
--- a/dive.h
+++ b/dive.h
@@ -269,6 +269,7 @@ struct dive {
duration_t duration, surfacetime;
int visibility; /* 0 - 5 star rating */
temperature_t airtemp, watertemp;
+ pressure_t surface_pressure;
cylinder_t cylinder[MAX_CYLINDERS];
weightsystem_t weightsystem[MAX_WEIGHTSYSTEMS];
char *suit;