diff options
author | Salvador Cuñat <salvador.cunat@gmail.com> | 2015-07-22 17:23:20 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-30 07:43:16 -0700 |
commit | a09cfb8e98dea0fdc5133d08690262cd7e9260e9 (patch) | |
tree | 69f3e78c109efc6262860069aaee2aef0fcbc166 /load-git.c | |
parent | 25f3038d40edd7b88e06b2a0643878b30264f1b6 (diff) | |
download | subsurface-a09cfb8e98dea0fdc5133d08690262cd7e9260e9.tar.gz |
RBT - Add load/save in git storage support
Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'load-git.c')
-rw-r--r-- | load-git.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; |