mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
25f3038d40
commit
a09cfb8e98
2 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue