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 /file.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 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); |