PATCH: Remove code that zeroes oxygen-related data and temperatures

Willem Ferguson willemferguson at zoology.up.ac.za
Fri Oct 31 21:11:06 PDT 2014


On 01/11/2014 00:02, Dirk Hohndel wrote:
> Git complains about a corrupt patch...
>
> /D
>
>

A second try, it was my fault.


Remove code that zeroes out duplicate oxygen sensor and temperature values

Remove the code that changes all duplicate oxygen sensor, setpoint and
temperature values from a dive log to zero. One of the motivations is
that a zero setpoint value indicates an Open Circuit dive segment, not
Closed Circuit Rebreather. The code in dive.c is removed and the comments
for the corresponding restoration code that restores the last known values
into sensor or temperature with zero values is [fill_o2_values()
in profile.c] is changed to apply to the present situation.

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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Remove-code-that-zeroes-out-duplicate-oxygen-sensor-.patch
Type: text/x-diff
Size: 5398 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20141101/b914b70e/attachment.patch>


More information about the subsurface mailing list