diff options
author | Robert C. Helling <helling@atdotde.de> | 2014-11-09 14:36:27 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-16 20:50:16 +0000 |
commit | 84dc8b8962ae8a4a75ca1ec81acd09989f757c98 (patch) | |
tree | d6c265f31d8901f481cdf96d5fdfdde5b6e8f8e9 /dive.c | |
parent | 5034f760727ae66d401093420f4c443eaad33d9a (diff) | |
download | subsurface-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |