[PATCH] CCR dive log rendering. Solve problems for a cylinder using 100% oxygen.
willemferguson at zoology.up.ac.za
Sat Nov 1 03:23:36 PDT 2014
Remove code causing problems with CCR dive log rendering.
Currently, if there is a po2 value for a point in the dive log, the dive
to be CCR. Currently, when a CCR dive has a fo2 of 100%, then the po2 is
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 at zoology.up.ac.za>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2454 bytes
Desc: not available
More information about the subsurface