summaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2014-11-09 14:36:27 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-16 20:50:16 +0000
commit84dc8b8962ae8a4a75ca1ec81acd09989f757c98 (patch)
treed6c265f31d8901f481cdf96d5fdfdde5b6e8f8e9 /dive.c
parent5034f760727ae66d401093420f4c443eaad33d9a (diff)
downloadsubsurface-84dc8b8962ae8a4a75ca1ec81acd09989f757c98.tar.gz
Some gas handling improvements
Add a time linear gas interpolation strategy. Some minor changes. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.c')
-rw-r--r--dive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dive.c b/dive.c
index 0c0e64972..f9914d479 100644
--- a/dive.c
+++ b/dive.c
@@ -1062,8 +1062,8 @@ unsigned int dc_airtemp(struct divecomputer *dc)
static void fixup_cylinder_use(struct dive *dive) // for CCR dives, store the indices
{ // of the oxygen and diluent cylinders
- dive->oxygen_cylinder_index = get_cylinder_use(dive, oxygen);
- dive->diluent_cylinder_index = get_cylinder_use(dive, diluent);
+ dive->oxygen_cylinder_index = get_cylinder_use(dive, OXYGEN);
+ dive->diluent_cylinder_index = get_cylinder_use(dive, DILUENT);
}
static void fixup_airtemp(struct dive *dive)