summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2015-01-19 11:32:27 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-20 06:16:15 +1200
commit837dcde0c180883e3d75e90459b06bde9789b797 (patch)
treee215894a21c7bc305a2fa6bc4bfd85f018c75bff /dive.h
parent86c961614bfa8ab9057319ea5f22816351a7f61a (diff)
downloadsubsurface-837dcde0c180883e3d75e90459b06bde9789b797.tar.gz
Use SAC from preferences for PSCR oxygen drop
The ratio between SAC and oxygen metabolism rate can be assumed constant but not the metabolism rate. So we better base our calculation on the ratio that uses the SAC from the preferences as that pairs well with the O2 consumption from the preferences. Hence we ran remove the sac parameter from fill_pressures(). Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index 327598b7c..56f38f948 100644
--- a/dive.h
+++ b/dive.h
@@ -143,7 +143,7 @@ struct gas_pressures {
double o2, n2, he;
};
-extern void fill_pressures(struct gas_pressures *pressures, const double amb_pressure, const struct gasmix *mix, double po2, enum dive_comp_type dctype, int sac);
+extern void fill_pressures(struct gas_pressures *pressures, const double amb_pressure, const struct gasmix *mix, double po2, enum dive_comp_type dctype);
extern void sanitize_gasmix(struct gasmix *mix);
extern int gasmix_distance(const struct gasmix *a, const struct gasmix *b);