comparison 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
comparison
equal deleted inserted replaced
246:ff0d23625cd5 247:3949781096d4
784 else 784 else
785 { 785 {
786 pDecoInfo->output_ceiling_meter = 999; 786 pDecoInfo->output_ceiling_meter = 999;
787 } 787 }
788 } 788 }
789
790 (??)
791 (??)void buehlmann_super_saturation_calculator(SLifeData* pLifeData, SDiveSettings * pDiveSettings, SDecoinfo * pDecoInfo)
792 (??){
793 (??) float temp_tissue;
794 (??) float limit;
795 (??) float pres_respiration;
796 (??) float gf = 0;
797 (??)
798 (??) limit = tissue_tolerance_without_gf_correction(&temp_tissue);
799 (??) pres_respiration = pLifeData->pressure_ambient_bar;
800 (??)
801 (??) if( temp_tissue > pres_respiration )
802 (??) {
803 (??) gf = (pres_respiration - temp_tissue) / (limit - temp_tissue);
804 (??) }
805 (??)
806 (??) pDecoInfo->super_saturation = gf;
807 (??)}