changeset 1052:3029dd4398a5 GasConsumption tip

1.7.5 beta release, fix Surface-GF
author heinrichsweikamp
date Mon, 15 Dec 2025 17:56:25 +0100
parents 4b6afe5551e1
children
files Discovery/Src/buehlmann.c Discovery/Src/settings.c
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Discovery/Src/buehlmann.c	Thu Nov 20 16:47:21 2025 +0100
+++ b/Discovery/Src/buehlmann.c	Mon Dec 15 17:56:25 2025 +0100
@@ -344,7 +344,7 @@
 			inertgas_b = ( ( buehlmann_N2_b[ci] *  gTissue_nitrogen_bar[ci]) + ( buehlmann_He_b[ci] * gTissue_helium_bar[ci]) ) / tissue_inertgas_saturation;
 		}
 
-		M_surf = inertgas_a + inertgas_b * pres_surface;
+		M_surf = pres_surface / inertgas_b + inertgas_a;
 		if (M_surf > pres_surface)
 		{
 			gf_surf = (tissue_inertgas_saturation - pres_surface) / (M_surf - pres_surface);
--- a/Discovery/Src/settings.c	Thu Nov 20 16:47:21 2025 +0100
+++ b/Discovery/Src/settings.c	Mon Dec 15 17:56:25 2025 +0100
@@ -68,15 +68,15 @@
 {
     .versionFirst   = 1,
     .versionSecond 	= 7,
-    .versionThird   = 4,
-    .versionBeta    = 0,
+    .versionThird   = 5,
+    .versionBeta    = 1,
 
     /* 4 bytes with trailing 0 */
     .signature = "mh",
 
     .release_year = 25,
-    .release_month = 6,
-    .release_day = 9,
+    .release_month = 12,
+    .release_day = 15,
     .release_sub = 0,
 
     /* max 48 with trailing 0 */