aboutsummaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-12-10 21:18:48 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-12-10 21:18:48 -0800
commit39f80a1e0f38720addc66315aa1235731ba03418 (patch)
tree7bd4dd93eb49b3f16e2d9c4b1d14c5c5cd2ce0b5 /dive.h
parent9463e7895be21befc6fbcdb02572d73ed2c188b2 (diff)
downloadsubsurface-39f80a1e0f38720addc66315aa1235731ba03418.tar.gz
Display maximum CNS in the divelist
We either pick the CNS reported by the dive computer at the end of the dive, or the maximum of that and the CNS values in the samples, if any. As usual, this column in the dive list defaults to off and it is controlled by a setting in the tec page of the preferences. 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 3054173ad..d113e27f4 100644
--- a/dive.h
+++ b/dive.h
@@ -316,7 +316,7 @@ struct dive {
cylinder_t cylinder[MAX_CYLINDERS];
weightsystem_t weightsystem[MAX_WEIGHTSYSTEMS];
char *suit;
- int sac, otu;
+ int sac, otu, cns, maxcns;
/* Eventually we'll do multiple dive computers */
struct divecomputer dc;