From 39f80a1e0f38720addc66315aa1235731ba03418 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 10 Dec 2012 21:18:48 -0800 Subject: 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 --- dive.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dive.h') 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; -- cgit v1.2.3-70-g09d2