comparison 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
comparison
equal deleted inserted replaced
580:32448d5ca734 581:855a00c21d0c
589 first_stop = next_stop; 589 first_stop = next_stop;
590 } 590 }
591 assert( first_stop == 0 ); 591 assert( first_stop == 0 );
592 592
593 no_deco_stop: 593 no_deco_stop:
594 temp_depth_limit = 0; 594 temp_depth_limit = min_depth;
595 goto done; 595 goto done;
596 596
597 // next stop is the last validated depth found, aka first_stop 597 // next stop is the last validated depth found, aka first_stop
598 deco_stop_found: 598 deco_stop_found:
599 need_stop = 1; // Hit. 599 need_stop = 1; // Hit.