diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-11-10 11:36:59 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-11-10 11:54:15 +0100 |
commit | e07531dd10a9126544b4cb949b05ee2d15a50d5d (patch) | |
tree | ff44ca449c206787bccb8c35d3ffd23a2834f983 | |
parent | 7b1867487186bbc80a8355ecbceb001943cac976 (diff) | |
download | subsurface-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |