summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2013-01-24 19:58:59 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-24 13:00:03 -0800
commite3088930ab58327fac744e4672906892560dc93e (patch)
treef58167085dab3419256b44a17c3d9beee5a3804d /dive.h
parentb8efe709a8e6c23a2bf3849a454565634b2a0545 (diff)
downloadsubsurface-e3088930ab58327fac744e4672906892560dc93e.tar.gz
Use actual min and max temperatures in statistics.
The statistics page only used each dive's "watertemp" attribute, regardless of actual higher/lower temperatures in the samples. By finding the actual max/min temperatures, the statistics page utilize more "real" data, and look better even on single dives. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> 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 a6908416d..f1b9dcc52 100644
--- a/dive.h
+++ b/dive.h
@@ -316,6 +316,7 @@ struct dive {
weightsystem_t weightsystem[MAX_WEIGHTSYSTEMS];
char *suit;
int sac, otu, cns, maxcns;
+ temperature_t mintemp, maxtemp;
/* Eventually we'll do multiple dive computers */
struct divecomputer dc;