summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
authorGravatar Salvador Cuñat <salvador.cunat@gmail.com>2015-07-22 17:20:39 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-30 07:43:16 -0700
commit25f3038d40edd7b88e06b2a0643878b30264f1b6 (patch)
treeaf7c6f876aaf8e9181c0c3b135cdd2b794bc979a /parse-xml.c
parentcfac25626b209ee12201a30524d421d6a49a7b58 (diff)
downloadsubsurface-25f3038d40edd7b88e06b2a0643878b30264f1b6.tar.gz
RBT - Add save/load in xml file support
Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse-xml.c b/parse-xml.c
index d235f2e83..e63ed4fa2 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -936,6 +936,8 @@ static void try_to_fill_sample(struct sample *sample, const char *name, char *bu
return;
if (MATCH("cns.sample", get_uint8, &sample->cns))
return;
+ if (MATCH("rbt.sample", sampletime, &sample->rbt))
+ return;
if (MATCH("sensor1.sample", double_to_o2pressure, &sample->o2sensor[0])) // CCR O2 sensor data
return;
if (MATCH("sensor2.sample", double_to_o2pressure, &sample->o2sensor[1]))