diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2017-10-08 08:29:08 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-10-07 22:38:49 -0700 |
commit | 65731323075bb582e5ebf05fddc3405d7e3b47c0 (patch) | |
tree | 7a4b6c9b6f9c944d94a81b41e53d2f8ba2ad1a86 /core/parse-xml.c | |
parent | 20f42e7aa890efaa3f6391bc463d751fff6b641d (diff) | |
download | subsurface-65731323075bb582e5ebf05fddc3405d7e3b47c0.tar.gz |
Store RBT value on DivingLog import
Fixed-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'core/parse-xml.c')
-rw-r--r-- | core/parse-xml.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/parse-xml.c b/core/parse-xml.c index d69545550..a2365c0aa 100644 --- a/core/parse-xml.c +++ b/core/parse-xml.c @@ -3296,6 +3296,7 @@ extern int divinglog_profile(void *handle, int columns, char **data, char **colu cur_sample->temperature.mkelvin = C_to_mkelvin(temp / 10.0f); cur_sample->pressure[0].mbar = pressure * 100; + cur_sample->rbt.seconds = rbt; if (oldcyl != tank) { struct gasmix *mix = &cur_dive->cylinder[tank].gasmix; int o2 = get_o2(mix); |