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>
This commit is contained in:
Anton Lundin 2013-12-19 22:11:43 +01:00 committed by Dirk Hohndel
parent a84826090a
commit c49f7133c3
2 changed files with 14 additions and 6 deletions

2
deco.c
View file

@ -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)
{