summaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-10-30 22:15:16 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-30 13:24:15 -0700
commit4a42fdaa71ffc5d95756cce6d36fac3061636c34 (patch)
tree04df6ac2799568d00f4706c26745ca108fe92bd1 /file.c
parentfa5c713f736e58ebcd49bbe2f07d1a20b2433ae2 (diff)
downloadsubsurface-4a42fdaa71ffc5d95756cce6d36fac3061636c34.tar.gz
Set the number of O2 sensors for Poseidon MK6
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'file.c')
-rw-r--r--file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/file.c b/file.c
index 9861a037c..42f8ef6c0 100644
--- a/file.c
+++ b/file.c
@@ -471,6 +471,7 @@ int parse_txt_file(const char *filename, const char *csv)
dive->dc.model = strdup("Poseidon MkVI Discovery");
dive->dc.deviceid = atoi(parse_mkvi_value(memtxt.buffer, "Rig Serial number"));
dive->dc.dctype = CCR;
+ dive->dc.no_o2sensors = 2;
dive->cylinder[cur_cylinder_index].type.size.mliter = 3000;
dive->cylinder[cur_cylinder_index].type.workingpressure.mbar = 200000;