[PATCH] Rebreather branch. Start of branch
Dirk Hohndel
dirk at hohndel.org
Mon Jun 2 10:09:44 PDT 2014
Willem,
In working on a full patch review of the original patch. I'll get it out to
you in a couple of hours, I think. That might help you focus the rework...
/D
On June 2, 2014 9:48:21 AM Willem Ferguson
<willemferguson at zoology.up.ac.za> wrote:
> 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>
>
More information about the subsurface
mailing list