aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/device.c b/core/device.c
index c9036304a..57f7576e1 100644
--- a/core/device.c
+++ b/core/device.c
@@ -133,6 +133,9 @@ void fake_dc(struct divecomputer *dc)
return;
}
+ /* Set last manually entered time to the total dive length */
+ dc->last_manual_time = dc->duration;
+
/*
* We want to fake the profile so that the average
* depth ends up correct. However, in the absence of