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>
This commit is contained in:
Dirk Hohndel 2013-02-09 06:50:53 -08:00
parent 0755cc522b
commit c7efcb23a9
3 changed files with 18 additions and 2 deletions

2
dive.h
View file

@ -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