[PATCH] Rebreather branch. Start of branch

Willem Ferguson willemferguson at zoology.up.ac.za
Mon Jun 2 09:41:49 PDT 2014


I hope this is good as a first patch!

Changes to sample data structure:
This patch implements changes to the structure of the sample structure
by using more strict typing. In units.h, creating two new typedefs:
         o2pressure_t
         bearing_t
In units.h, changing the types of the unit variables to int32_t or int16_t.
This was for duration_t, depth_t, pressure_t, temperature_t.

Changing the types of the sample structure in dive.h so that all 
variables are
strongly typed and that all variables are defined in term of units. This 
included:
In dive.h, add the following variables to store rebreather data later on:
         o2setpoint
         o2sensor[3]
         Change cylinderpressure to cylinderpressure[2] to povide for 
diluent

Changes to the files below involved changing sample->po2 to sample->po2.mbar
and changing sample->cylinderpressure to sample->cylinderpressure[0]

Signed-off-by: Willem Ferguson <willemferguson at zoology.up.ac.za>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-PATCH-Rebreather-branch.-Start-of-branch.patch
Type: text/x-patch
Size: 21394 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140602/1013ff97/attachment-0001.bin>


More information about the subsurface mailing list