summaryrefslogtreecommitdiffstats
path: root/core/profile.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2019-03-20 16:29:27 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-03-29 06:51:12 -0700
commit5e494ce76106fe16f614e163c2bc6b8bf6903c86 (patch)
tree5162c2523e8a731eda22ce464e72c1d42124616d /core/profile.c
parent7635ee3e776f7adb96dda70ea21920569368ae30 (diff)
downloadsubsurface-5e494ce76106fe16f614e163c2bc6b8bf6903c86.tar.gz
Show a bit of surface degassing in the planner
to display the deco parameters at the surface, in particular tissue saturation and heat map. Suggeted-by: Matthias Heinrichs <info@heinrichsweikamp.com> Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/profile.c')
-rw-r--r--core/profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/profile.c b/core/profile.c
index 0d568a4fe..9cc072973 100644
--- a/core/profile.c
+++ b/core/profile.c
@@ -453,7 +453,7 @@ struct plot_info calculate_max_limits_new(struct dive *dive, struct divecomputer
if (depth > maxdepth)
maxdepth = s->depth.mm;
- if ((depth > SURFACE_THRESHOLD || lastdepth > SURFACE_THRESHOLD) &&
+ if ((depth > SURFACE_THRESHOLD || lastdepth > SURFACE_THRESHOLD || in_planner()) &&
s->time.seconds > maxtime)
maxtime = s->time.seconds;
lastdepth = depth;