summaryrefslogtreecommitdiffstats
path: root/deco.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-08 14:28:44 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-08 14:28:44 -0800
commitf5b62c035643512572e598317e6b6b1c3fe45150 (patch)
tree0df77e67562e4bd30b0100e9077ad06eff461cea /deco.c
parente903fa966ec00118c17af72e6563cac82c4e555c (diff)
downloadsubsurface-f5b62c035643512572e598317e6b6b1c3fe45150.tar.gz
Undo unintentional change to deco.c
In commit d163a68ac69e "Clean up the rewritten deco.c" I apparently made one more change than I intended - I changed the last deco stop back to 3m instead of allowing the smooth mode to go all the way back to 0 without any discrete steps. This fixes that mistake. Reported-by: Robert C. Helling <helling@lmu.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'deco.c')
-rw-r--r--deco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/deco.c b/deco.c
index a5ab3ac56..a313c05e9 100644
--- a/deco.c
+++ b/deco.c
@@ -28,7 +28,7 @@ struct buehlmann_config {
double gf_low; //! gradient factor low (at bottom/start of deco calculation).
double gf_low_position_min; //! gf_low_position below surface_min_shallow.
};
-struct buehlmann_config buehlmann_config = { 1.0, 1.01, 3, 0.75, 0.35, 2.0 };
+struct buehlmann_config buehlmann_config = { 1.0, 1.01, 0, 0.75, 0.35, 2.0 };
struct dive_data {
double pressure; //! pesent ambient pressure
double surface; //! pressure at water surface