diff options
author | Henrik Brautaset Aronsen <subsurface@henrik.synth.no> | 2013-01-24 19:58:59 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-24 13:00:03 -0800 |
commit | e3088930ab58327fac744e4672906892560dc93e (patch) | |
tree | f58167085dab3419256b44a17c3d9beee5a3804d /dive.h | |
parent | b8efe709a8e6c23a2bf3849a454565634b2a0545 (diff) | |
download | subsurface-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |