summaryrefslogtreecommitdiffstats
path: root/deco.c
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2013-12-19 22:11:43 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-20 09:53:05 -0800
commitc49f7133c306860fb1f9bb5e6cd138927a5b5f0f (patch)
tree068e9d258a1c203dbf78aa36fbcf520fb4bc2e5f /deco.c
parenta84826090ab384952abe00a49cb71d2edb9d3af7 (diff)
downloadsubsurface-c49f7133c306860fb1f9bb5e6cd138927a5b5f0f.tar.gz
Add preprocessor directives around debug functions
These adds some ifdef's around some debug functions to disable them when not using them. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'deco.c')
-rw-r--r--deco.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/deco.c b/deco.c
index 32705dd92..698b33120 100644
--- a/deco.c
+++ b/deco.c
@@ -187,6 +187,7 @@ double add_segment(double pressure, const struct gasmix *gasmix, int period_in_s
return tissue_tolerance_calc(dive);
}
+#ifdef DECO_CALC_DEBUG
void dump_tissues()
{
int ci;
@@ -198,6 +199,7 @@ void dump_tissues()
printf(" %6.3e", tissue_he_sat[ci]);
printf("\n");
}
+#endif
void clear_deco(double surface_pressure)
{