summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-08 20:44:04 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-08 20:44:04 -0800
commit15112712019817e4e64b5c35b7bb38315125e920 (patch)
treed09295d8284cb8978815d6b38784341fee636e10 /dive.h
parentb8c7992bbfe03dce665cbd5ba6144b0c8b59b6fd (diff)
downloadsubsurface-15112712019817e4e64b5c35b7bb38315125e920.tar.gz
Add maxdepth back to the dive structure
Populate during dive fixup as the maximum depth shown by all the divecomputers. Use this value (instead of the one in the first divecomputer) in printing, statistics, etc. 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 87c30733d..14fd29917 100644
--- a/dive.h
+++ b/dive.h
@@ -321,6 +321,7 @@ struct dive {
/* Calculated based on dive computer data */
temperature_t mintemp, maxtemp;
+ depth_t maxdepth;
pressure_t surface_pressure;
int salinity; // kg per 10000 l