# HG changeset patch # User heinrichsweikamp # Date 1362464784 -3600 # Node ID fdeb01351f23f582aae12e425a6fd5bcc78e94ec # Parent 59a9402ba6ddb9831e96c95b3aabc5c7c6d4e9a7 patch2 diff -r 59a9402ba6dd -r fdeb01351f23 code_part1/OSTC_code_c_part2/p2_deco.c --- a/code_part1/OSTC_code_c_part2/p2_deco.c Sun Feb 24 20:29:47 2013 +0100 +++ b/code_part1/OSTC_code_c_part2/p2_deco.c Tue Mar 05 07:26:24 2013 +0100 @@ -1366,6 +1366,11 @@ if( temp_deco < sim_lead_tissue_limit ) { temp_deco = old_deco; // Restore last correct depth, + while (sim_lead_tissue_limit < temp_deco) { + temp_deco -= (10.0*METER_TO_BAR) / 30.0; // up for 2s with 10m/min + sim_alveolar_presures(); // temp_deco --> ppN2/ppHe + sim_tissue(0); // and update tissues for 1 min. + } break; // Do no spend a minute more. }