Store RBT value on DivingLog import

Fixed-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
Miika Turkia 2017-10-08 08:29:08 +03:00 committed by Dirk Hohndel
parent 20f42e7aa8
commit 6573132307

View file

@ -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);