mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:23:23 +00:00
Convert Uemis deco stop hold time to seconds
This is actually stored in minutes (which seems odd, given they allocate 16 bits for it... how much deco do these people want to be prepared for??) Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7b18674871
commit
e07531dd10
1 changed files with 1 additions and 1 deletions
2
uemis.c
2
uemis.c
|
@ -186,7 +186,7 @@ void uemis_event(struct dive *dive, struct sample *sample, uemis_sample_t *u_sam
|
|||
add_event(dive, sample->time.seconds, SAMPLE_EVENT_CEILING, SAMPLE_FLAGS_BEGIN,
|
||||
u_sample->hold_depth * 10, N_("ceiling"));
|
||||
add_event(dive, sample->time.seconds, SAMPLE_EVENT_DECOSTOP, 0,
|
||||
u_sample->hold_time, N_("deco"));
|
||||
u_sample->hold_time * 60, N_("deco"));
|
||||
in_deco = TRUE;
|
||||
} else if (in_deco) {
|
||||
in_deco = FALSE;
|
||||
|
|
Loading…
Add table
Reference in a new issue