aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-11-10 11:36:59 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-11-10 11:54:15 +0100
commite07531dd10a9126544b4cb949b05ee2d15a50d5d (patch)
treeff44ca449c206787bccb8c35d3ffd23a2834f983
parent7b1867487186bbc80a8355ecbceb001943cac976 (diff)
downloadsubsurface-e07531dd10a9126544b4cb949b05ee2d15a50d5d.tar.gz
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>
-rw-r--r--uemis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uemis.c b/uemis.c
index c12b53c8e..72d20e360 100644
--- a/uemis.c
+++ b/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;