mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 19:43:23 +00:00
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:
parent
20f42e7aa8
commit
6573132307
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue