summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2014-06-04 11:05:22 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-04 11:05:22 -0700
commit9874a97ed561459a2a290e1dbbe2b9c9d1bed4da (patch)
tree0ab0f5b9ed92527d50ee86340ff50504dcb15878 /profile.c
parentc92bb9e02171d884c50dd3f8b4e57d963c2e7935 (diff)
downloadsubsurface-9874a97ed561459a2a290e1dbbe2b9c9d1bed4da.tar.gz
Make bigger steps when calculating TTS
[Dirk Hohndel: this was sent ages ago and in all the discussions about the implications I apparently never applied this] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile.c b/profile.c
index 67948f22b..b5df7c6cd 100644
--- a/profile.c
+++ b/profile.c
@@ -1017,7 +1017,7 @@ static void calculate_ndl_tts(double tissue_tolerance, struct plot_data *entry,
const int ascent_s_per_deco_step = 1;
const int ascent_mm_per_deco_step = 16; /* 1 m/min */
/* how long time steps in deco calculations? */
- const int time_stepsize = 10;
+ const int time_stepsize = 60;
const int deco_stepsize = 3000;
/* at what depth is the current deco-step? */
int next_stop = ROUND_UP(deco_allowed_depth(tissue_tolerance, surface_pressure, dive, 1), deco_stepsize);