<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 12px;" lang="x-unicode">CCR patch. Reorganise the
oxygen partial pressure calculations.
<br>
<br>
This patch responds to the side effects that the CCR code has had
with
<br>
respect to ceilings in OC dives and dive plans. Dive ceilings are
now
<br>
calculated apparently correctly. The following were performed:
<br>
1) remove the oxygen sensor and setpoint fields from the
gas_pressures structure.
<br>
2) Re-insert setpoint and oxygen sensor fields in the plot_data
structure.
<br>
3) Remove the algorithm that reads the o2 sensor data and
calculates the pressures.po2
<br>
value from function fill_pressures() in dive.c and save it as a
separate function
<br>
calc_ccr_po2() in profile.c.
<br>
4) Activate calc_ccr_po2 from function fill_pressures() in
profile.c.
<br>
5) Move the relative position of the call to fill_pressures()
within the
<br>
function create_polt_info_new() in profile.c.
<br>
<br>
Signed-off-by: willem ferguson <a class="moz-txt-link-rfc2396E"
href="mailto:willemferguson@zoology.up.ac.za"><willemferguson@zoology.up.ac.za></a>
<br>
<br>
I have carefully attended to whitespace issues. I hope this is ok.
<br>
</div>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>