Mercurial > public > hwos_code
changeset 210:7dbc1d780ca5
do not clear char_O_deco_gas in copy_deco_table
author | heinrichsweikamp |
---|---|
date | Sun, 07 Dec 2014 23:04:16 +0100 |
parents | 56276a2418f9 |
children | 5fd93901b735 |
files | src/p2_deco.c src/shared_definitions.h |
diffstat | 2 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/p2_deco.c Sun Dec 07 18:03:05 2014 +0100 +++ b/src/p2_deco.c Sun Dec 07 23:04:16 2014 +0100 @@ -634,7 +634,6 @@ for(y++; y<NUM_STOPS; y++) { char_O_deco_time_for_log [y] = 0; - char_O_deco_gas [y] = 0; } } } @@ -2061,7 +2060,7 @@ { overlay unsigned char stop_gas; - //---- Get next stop, possibly in reverse order ------------------ + //---- Get next stop --------------------------------------------- { time = char_O_deco_time[(NUM_STOPS-1)-i]; temp_depth_limit = char_O_deco_depth[(NUM_STOPS-1)-i];
--- a/src/shared_definitions.h Sun Dec 07 18:03:05 2014 +0100 +++ b/src/shared_definitions.h Sun Dec 07 23:04:16 2014 +0100 @@ -75,6 +75,7 @@ bank3 udata_ovr 0x300 #endif + #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Define model dimensions. NUM_COMP is the number of compartiments in the Bühlmann ZH-L16 model, ie 16. @@ -154,8 +155,6 @@ VAR_UCHAR (char_I_dive_interval); // Delay before next dive simulation. VAR_UCHAR (char_I_const_ppO2); // new in v.101 -TAB_UCHAR (char_I_deco_enable, NUM_GAS); // new in v.101 - TAB_UCHAR (char_I_deco_gas_change,NUM_GAS); // new in v.101 TAB_UCHAR (char_I_dil_change,NUM_GAS); // Must be placed after char_I_deco_gas_change!