changeset 527:31db81de1d4f

Minor: should not reset char_I_depth_last_deco.
author JeanDo
date Mon, 12 Dec 2011 18:21:21 +0100
parents d445f0627e86
children 67ab3c028bc2
files code_part1/OSTC_code_c_part2/p2_deco.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/code_part1/OSTC_code_c_part2/p2_deco.c	Sat Dec 10 16:20:48 2011 +0100
+++ b/code_part1/OSTC_code_c_part2/p2_deco.c	Mon Dec 12 18:21:21 2011 +0100
@@ -108,7 +108,7 @@
 #include "../OSTC_code_asm_part1/shared_definitions.h"
 
 // Water vapour partial pressure in the lumb.
-#define ppWater     0.0627
+#define ppWater        0.0627
 #define METER_TO_BAR   0.09985
 #define BAR_TO_METER   10.0150      // (1.0/METER_TO_BAR)
 
@@ -563,7 +563,6 @@
 // 
 static void read_buhlmann_coefficients(void)
 {
-
 #ifndef CROSS_COMPILE
     // Note: we don't use far rom pointer, because the
     //       24 bits is too complex, hence we have to set
@@ -675,7 +674,7 @@
         break;
 
     default:
-            assert(0);  // Never go there...
+        assert(0);  // Never go there...
     }
 }
 
@@ -1229,7 +1228,6 @@
     int_O_ascenttime = 0;
     char_O_gradient_factor = 0;
     char_O_relative_gradient_GF = 0;
-    char_I_depth_last_deco = 0;		// for compatibility with v.101pre_no_last_deco
 
     calc_lead_tissue_limit = 0.0;
     char_O_gtissue_no = 0;