summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-09 06:50:53 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-09 07:02:43 -0800
commitc7efcb23a9a838f88c6691cb7b278126ae639c4b (patch)
tree13574139ec6d4b8e7db05ed7efb56f3a65cacd92 /dive.h
parent0755cc522b9d68580f79e567808770df5814f150 (diff)
downloadsubsurface-c7efcb23a9a838f88c6691cb7b278126ae639c4b.tar.gz
Add a meandepth to the dive structure
This is currently only used in one place (in statistics.c), but it certainly is consistent with the other recent changes to avoid using only the first divecomputer when trying to make statements about a dive. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index 14fd29917..830fcce7d 100644
--- a/dive.h
+++ b/dive.h
@@ -321,7 +321,7 @@ struct dive {
/* Calculated based on dive computer data */
temperature_t mintemp, maxtemp;
- depth_t maxdepth;
+ depth_t maxdepth, meandepth;
pressure_t surface_pressure;
int salinity; // kg per 10000 l