summaryrefslogtreecommitdiffstats
path: root/dives
diff options
context:
space:
mode:
authorGravatar willem ferguson <willemferguson@zoology.up.ac.za>2014-11-01 12:06:49 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-01 22:05:13 -0700
commit9e2ce3d99aee3832187be21b93e525e8508da9da (patch)
tree368cbc6c2fd6c84e594838d75a045f630a777252 /dives
parente3be473a7fc82bd99d2a76e9294e564b0f5eea82 (diff)
downloadsubsurface-9e2ce3d99aee3832187be21b93e525e8508da9da.tar.gz
Remove code causing problems with CCR dive log rendering.
Currently, if there is a po2 given in the dive log, the dive is assumed to be CCR. When a CCR dive has a fo2 of 100%, then the po2 is set as the same as ambient pressure. This destroys the CCR po2 graph in the dive profile that derives from oxygen with a fo2 of 100% in one of the cylinders but which, after adding the dilent gas, has a po2 far below ambient pressure. The calculation for 100% oxygen only applies to deco using 100% o2 and then the dive computer calculates the appropriate po2. This patch removes the setting of po2 to ambient when fo2 is 100%, 1) to enable accurate graphing of po2 values for CCR dives using 100% o2 in the first cylinder. 2) To use the po2 value reported by the DC in the first place. Signed-off-by: willem ferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives')
0 files changed, 0 insertions, 0 deletions