diff code_part1/OSTC_code_c_part2/p2_deco.c @ 340:ecbbbd423e86

BUGFIX save negativ temperatures in logbook (bbbug #6) BUGFIX temperature & amb_pressure averaging done in private variable. BUGFIX Signed averaging of temperature.
author JeanDo
date Fri, 20 May 2011 00:39:05 +0200
parents cb77d1fa4535
children b5b030c1ae7e
line wrap: on
line diff
--- a/code_part1/OSTC_code_c_part2/p2_deco.c	Wed May 18 02:01:52 2011 +0200
+++ b/code_part1/OSTC_code_c_part2/p2_deco.c	Fri May 20 00:39:05 2011 +0200
@@ -671,7 +671,7 @@
 }
 
 //////////////////////////////////////////////////////////////////////////////
-// calc_next_decodepth_GF
+// calc_nextdecodepth
 //
 // new in v.102
 //
@@ -1056,7 +1056,7 @@
         overlay unsigned char j;
 
         // Loop over all enabled gas, to find the deepest one,
-        // above las gas, but below temp_depth_limit.
+        // above last used gas, but below temp_depth_limit.
         for(j=0; j<NUM_GAS; ++j)
         {
             // Gas not (yet) allowed ? Skip !