From 62d87e9d25763e81757de417640f464e2bf5a2c0 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Mon, 17 Aug 2020 22:04:53 +0200 Subject: Planner: handle zero length segments when replanning When setting up a dive for replanning, we ignored zero length segments as those tend to be generated by gas changes. But it is possible to enter those in the planner and the replanning should not ignore those. So be more clever about gas changes. Let's add 10 seconds so we are not at two depths at the same time and help since add_stop also does not like zero length segments (it thinks we are trying to replace a waypoint). Fixes #2901 Signed-off-by: Robert C. Helling Signed-off-by: Dirk Hohndel --- libdivecomputer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdivecomputer') diff --git a/libdivecomputer b/libdivecomputer index ad566ab04..1df0e13cc 160000 --- a/libdivecomputer +++ b/libdivecomputer @@ -1 +1 @@ -Subproject commit ad566ab04f6ef3943d2306b41b35ac427afddb40 +Subproject commit 1df0e13cc44041743836065c66928c06a5c035a0 -- cgit v1.2.3-70-g09d2