From 5e494ce76106fe16f614e163c2bc6b8bf6903c86 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Wed, 20 Mar 2019 16:29:27 +0100 Subject: 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 Signed-off-by: Robert C. Helling --- core/profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/profile.c') 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; -- cgit v1.2.3-70-g09d2