Mercurial > public > ostc4
diff Discovery/Src/buehlmann.c @ 247:3949781096d4 bm-1
feature: Relative GF to Saturation renames
Rename relevant code from Relative GF to Saturation. Involving UI elements,
variable names, translated texts (that still need to be done), etc. No
functional changes. Notice that I chose super_saturation as name, to provide
a better link to the hwOS repo. Further notice that the TXT variable name is
not changed. This is intensional, as there is also a desaturation variable,
so things might get confusing renaming the TXT variable name.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author | Jan Mulder <jlmulder@xs4all.nl> |
---|---|
date | Tue, 09 Apr 2019 16:30:21 +0200 |
parents | ff0d23625cd5 |
children | 822416168585 |
line wrap: on
line diff
--- a/Discovery/Src/buehlmann.c Tue Apr 09 15:38:31 2019 +0200 +++ b/Discovery/Src/buehlmann.c Tue Apr 09 16:30:21 2019 +0200 @@ -786,22 +786,3 @@ pDecoInfo->output_ceiling_meter = 999; } } - -(??) -(??)void buehlmann_super_saturation_calculator(SLifeData* pLifeData, SDiveSettings * pDiveSettings, SDecoinfo * pDecoInfo) -(??){ -(??) float temp_tissue; -(??) float limit; -(??) float pres_respiration; -(??) float gf = 0; -(??) -(??) limit = tissue_tolerance_without_gf_correction(&temp_tissue); -(??) pres_respiration = pLifeData->pressure_ambient_bar; -(??) -(??) if( temp_tissue > pres_respiration ) -(??) { -(??) gf = (pres_respiration - temp_tissue) / (limit - temp_tissue); -(??) } -(??) -(??) pDecoInfo->super_saturation = gf; -(??)}