summaryrefslogtreecommitdiffstats
path: root/planner.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2014-06-06 21:13:54 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-08 20:25:39 -0700
commite6fc5d2370db30092fec9f316a1d8edb4cb88d0b (patch)
tree4bae4835ed9884052bbf9c590d8123dbd32852cc /planner.c
parent125ddd955c04944398bbbf50a2a40bd1cceda4a3 (diff)
downloadsubsurface-e6fc5d2370db30092fec9f316a1d8edb4cb88d0b.tar.gz
Planner: incease step size in deco ascends to 3 seconds
Triple time step in deco ascents to improve responsiveness of interactive deco calculation. [Dirk Hohndel: split commit into two] Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'planner.c')
-rw-r--r--planner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/planner.c b/planner.c
index cf9f36463..fce004e02 100644
--- a/planner.c
+++ b/planner.c
@@ -14,7 +14,7 @@
#include "gettext.h"
#include "libdivecomputer/parser.h"
-#define TIMESTEP 1 /* second */
+#define TIMESTEP 3 /* second */
#define DECOTIMESTEP 60 /* seconds. Unit of deco stop times */
int decostoplevels[] = { 0, 3000, 6000, 9000, 12000, 15000, 18000, 21000, 24000, 27000,