# HG changeset patch # User heinrichsweikamp # Date 1417989856 -3600 # Node ID 7dbc1d780ca572e6e1cec853f69839d21d8396f1 # Parent 56276a2418f98bb05d8b0dda1f1f18c7fcd23f78 do not clear char_O_deco_gas in copy_deco_table diff -r 56276a2418f9 -r 7dbc1d780ca5 src/p2_deco.c --- 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]; diff -r 56276a2418f9 -r 7dbc1d780ca5 src/shared_definitions.h --- 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!