From a09cfb8e98dea0fdc5133d08690262cd7e9260e9 Mon Sep 17 00:00:00 2001 From: Salvador Cuñat Date: Wed, 22 Jul 2015 17:23:20 +0200 Subject: RBT - Add load/save in git storage support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Salvador Cuñat Signed-off-by: Dirk Hohndel --- load-git.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'load-git.c') diff --git a/load-git.c b/load-git.c index d1fa3e3dd..c4bbf1616 100644 --- a/load-git.c +++ b/load-git.c @@ -497,6 +497,12 @@ static void parse_sample_keyvalue(void *_sample, const char *key, const char *va sample->cns = atoi(value); return; } + + if (!strcmp(key, "rbt")) { + sample->rbt = get_duration(value); + return; + } + if (!strcmp(key, "po2")) { pressure_t p = get_pressure(value); sample->setpoint.mbar = p.mbar; -- cgit v1.2.3-70-g09d2