From 46bb02e8fc2878bc94f4f2543db74e20104eb6f2 Mon Sep 17 00:00:00 2001 From: willem ferguson Date: Sat, 11 Oct 2014 09:49:48 +0200 Subject: CCR patch: Import and store oxygen sensor data This patch allows the importing of oxygen sensor and setpoint data from Poseidon CCR dive logs. 1) Change parse-xml.c to read up to three oxygen sensor values from xml. and to store the information in sample structures 2) Change parse-xml.c to read o2 setpoint values fro xml and to store it in sample structures 3) Change dive.c to delete all sensor and setpoint values where subsequent samples have sensor/setpoint values that are the same. 4) Change profile.c to store the sensor/setpoint values from the samples into plotinfo. 5) Change the sample Poseidon xml log in the dives directory to ensure the correct order and hierarchy of the dive and divecomputer nodes. [Dirk Hohndel: minor cleanup, removed debug code, whitespace] Signed-off-by: willem ferguson Signed-off-by: Dirk Hohndel --- dives/Poseidon_MkVI_6-14_import.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dives/Poseidon_MkVI_6-14_import.xml') diff --git a/dives/Poseidon_MkVI_6-14_import.xml b/dives/Poseidon_MkVI_6-14_import.xml index 559aa2eba..6c92a3449 100644 --- a/dives/Poseidon_MkVI_6-14_import.xml +++ b/dives/Poseidon_MkVI_6-14_import.xml @@ -1,9 +1,6 @@ - - - - + MkVI_Config v1.08 Dive started at : 2011-06-14 11:20:36 @@ -47,6 +44,9 @@ Helium tension 8 : 0.0000 Helium tension 9 : 0.0000 --- + + + -- cgit v1.2.3-70-g09d2