[PATCH] calculate start/end cylinder pressures for oxygen

Willem Ferguson willemferguson at zoology.up.ac.za
Fri Nov 21 05:33:05 PST 2014


Subject: [PATCH] Update fixup_pressure to calculate CCR oxygen
  cylinderpressures

Fixup_pressure() needs to calculate the cylinder pressures at the
start and at the end of the dive, also for CCR oxygen cylinders.
Since, in the case of CCR, the default cylinder is the diluent,
this is not automatically done for oxygen. This code provides
for fixup_pressure() to be able to do the calculations for oxygen
as well. Another change to fixup_dive() invokes fixup_pressure()
to calculate the values for the oxygen cylinder.

Signed-off-by: willem ferguson <willemferguson at zoology.up.ac.za>


Please ignore the bottom 6 lines of this patch. Ubuntu forced me to
re-create the Subsurface folder, thus destroying a previous patch
represented by the bottom 6 lines.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Update-fixup_pressure-to-calculate-CCR-oxygen-cylind.patch
Type: text/x-diff
Size: 2791 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20141121/0b01fd5f/attachment-0001.patch>


More information about the subsurface mailing list