summaryrefslogtreecommitdiffstats
path: root/profile.h
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2013-12-04 00:12:01 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-03 15:22:49 -0800
commit04bbfe2ab18223c8a6d39683212c6eaefbdf66f2 (patch)
tree83a3f001637ccf245ab76948f684e34f5f5e0fad /profile.h
parent25bfcf5f6d0ed9a16705dcd2ae095daf6c852dd1 (diff)
downloadsubsurface-04bbfe2ab18223c8a6d39683212c6eaefbdf66f2.tar.gz
Disable calc_ndl_tts for print
NDL and TTS doesn't show up in the printed profiles, and it takes significant time to calculate, so just don't do it. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.h')
-rw-r--r--profile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile.h b/profile.h
index 563fa700d..c64ecfbf6 100644
--- a/profile.h
+++ b/profile.h
@@ -44,7 +44,7 @@ struct plot_data {
};
void calculate_max_limits(struct dive *dive, struct divecomputer *dc, struct graphics_context *gc);
-struct plot_info *create_plot_info(struct dive *dive, struct divecomputer *dc, struct graphics_context *gc);
+struct plot_info *create_plot_info(struct dive *dive, struct divecomputer *dc, struct graphics_context *gc, bool print_mode);
int setup_temperature_limits(struct graphics_context *gc);
int get_cylinder_pressure_range(struct graphics_context *gc);
void compare_samples(struct plot_data *e1, struct plot_data *e2, char *buf, int bufsize, int sum);