diff code_part1/OSTC_code_c_part2/p2_deco.c @ 581:855a00c21d0c

BUGFIX wrong decostop order when CF55=1, when next stop at more than 10m...
author JeanDo
date Wed, 25 Apr 2012 01:42:10 +0200
parents 32448d5ca734
children d1719622111e
line wrap: on
line diff
--- a/code_part1/OSTC_code_c_part2/p2_deco.c	Tue Apr 24 23:51:03 2012 +0200
+++ b/code_part1/OSTC_code_c_part2/p2_deco.c	Wed Apr 25 01:42:10 2012 +0200
@@ -591,7 +591,7 @@
         assert( first_stop == 0 );
 
 no_deco_stop:
-		temp_depth_limit = 0;
+		temp_depth_limit = min_depth;
         goto done;
 
         // next stop is the last validated depth found, aka first_stop