summaryrefslogtreecommitdiffstats
path: root/file.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 /file.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 'file.c')
-rw-r--r--file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index e8fc2b5cd..a71f9d0f3 100644
--- a/file.c
+++ b/file.c
@@ -507,14 +507,14 @@ int parse_txt_file(const char *filename, const char *csv)
dive->dc.dctype = CCR;
dive->dc.no_o2sensors = 2;
- dive->cylinder[cur_cylinder_index].cylinder_use = oxygen;
+ dive->cylinder[cur_cylinder_index].cylinder_use = OXYGEN;
dive->cylinder[cur_cylinder_index].type.size.mliter = 3000;
dive->cylinder[cur_cylinder_index].type.workingpressure.mbar = 200000;
dive->cylinder[cur_cylinder_index].type.description = strdup("3l Mk6");
dive->cylinder[cur_cylinder_index].gasmix.o2.permille = 1000;
cur_cylinder_index++;
- dive->cylinder[cur_cylinder_index].cylinder_use = diluent;
+ dive->cylinder[cur_cylinder_index].cylinder_use = DILUENT;
dive->cylinder[cur_cylinder_index].type.size.mliter = 3000;
dive->cylinder[cur_cylinder_index].type.workingpressure.mbar = 200000;
dive->cylinder[cur_cylinder_index].type.description = strdup("3l Mk6");