diff options
author | Anton Lundin <glance@acc.umu.se> | 2013-12-19 22:11:43 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-20 09:53:05 -0800 |
commit | c49f7133c306860fb1f9bb5e6cd138927a5b5f0f (patch) | |
tree | 068e9d258a1c203dbf78aa36fbcf520fb4bc2e5f /deco.c | |
parent | a84826090ab384952abe00a49cb71d2edb9d3af7 (diff) | |
download | subsurface-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) { |