Mercurial > public > mk2
changeset 568:a4586e115ded bug_deco_clearing_missed_stops
Minor typo cleanup.
author | JeanDo |
---|---|
date | Sat, 03 Mar 2012 22:26:33 +0100 |
parents | 8666b14fce24 |
children | ef667587b2b9 |
files | code_part1/OSTC_code_c_part2/p2_deco.c |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/code_part1/OSTC_code_c_part2/p2_deco.c Sat Mar 03 22:26:33 2012 +0100 +++ b/code_part1/OSTC_code_c_part2/p2_deco.c Sat Mar 03 22:26:33 2012 +0100 @@ -545,11 +545,11 @@ // Store the deepest point needing a deco stop as the LOW reference for GF. // NOTE: following stops will be validated using this LOW-HIGH gf scale, // so if we want to keep coherency, we should not validate this stop - // yet, but apply the search as all the following stops afterward. + // yet, but apply the search to it, as for all the following stops afterward. if( first_stop > low_depth ) { low_depth = first_stop; - locked_GF_step = GF_delta / low_depth; + locked_GF_step = GF_delta / first_stop; } // We have a stop candidate. @@ -766,7 +766,6 @@ calc_dive_interval(); } - ////////////////////////////////////////////////////////////////////////////// // Find current gas in the list (if any). // @@ -1957,7 +1956,7 @@ float_desaturation_multiplier = char_I_desaturation_multiplier * (0.01 * SURFACE_DESAT_FACTOR); float_saturation_multiplier = char_I_saturation_multiplier * 0.01; - // Make sure SURFACE_DESAT_FACTOR is applyed: + // Make sure SURFACE_DESAT_FACTOR is applied: backup_model = char_I_deco_model; char_I_deco_model = 0;