[PATCH] Set the number of O2 sensors for Poseidon MK6

Miika Turkia miika.turkia at gmail.com
Thu Oct 30 13:15:16 PDT 2014


Signed-off-by: Miika Turkia <miika.turkia at gmail.com>
---
 file.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/file.c b/file.c
index 9861a03..42f8ef6 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;
-- 
1.9.1



More information about the subsurface mailing list