summaryrefslogtreecommitdiffstats
path: root/profile.h
diff options
context:
space:
mode:
authorGravatar Rodrigo Severo <rodrigo@fabricadeideias.com>2014-01-01 10:35:16 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-08 20:38:17 +0800
commiteec5dba1c23a6aef8c73ff744973cf8ad821eef2 (patch)
tree31a99523d5edf7c4ad6903594524b4dc5d352884 /profile.h
parent8f0c8be245b405251a6023591d915c702ea9d034 (diff)
downloadsubsurface-eec5dba1c23a6aef8c73ff744973cf8ad821eef2.tar.gz
Reinstating SURFACE_THRESHOLD test in pressure_time function
The small straight parts at the end of tank pressure lines are more of a aesthetic issue, not causing real harm so it is no reason to remove the SURFACE_THRESHOLD test from pressure_time function only because of this. Also improved interpolate data debuging, rearranged get_pr_interpolate_data and removed an unused variable from get_pr_interpolate_data. No real change here, just trying to make the code clearer. [Dirk Hohndel: clean up whitespace damage from this and the previous commit] Signed-off-by: Rodrigo Severo <rodrigo@fabricadeideias.com> 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 9f759d88b..0453bff08 100644
--- a/profile.h
+++ b/profile.h
@@ -41,7 +41,7 @@ struct plot_data {
int tts_calc;
int stoptime_calc;
int stopdepth_calc;
- int pressure_time;
+ int pressure_time;
};
void calculate_max_limits(struct dive *dive, struct divecomputer *dc, struct graphics_context *gc);