From 84dc8b8962ae8a4a75ca1ec81acd09989f757c98 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Sun, 9 Nov 2014 14:36:27 +0100 Subject: Some gas handling improvements Add a time linear gas interpolation strategy. Some minor changes. Signed-off-by: Robert C. Helling Signed-off-by: Dirk Hohndel --- file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'file.c') 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"); -- cgit v1.2.3-70-g09d2