diff code_part1/OSTC_code_c_part2/shared_definitions.h @ 171:7f3e1bf588bc

More p2_deco.c cleanups + char_I_table_deco_done[] was never initialised. + temp_deco (deco presure) in meter (instead of bars), p2_deco.c line 661 ! Gas switches: + Added check_gas_switch() and calc_gas_switch state.
author JeanDo
date Tue, 01 Feb 2011 00:24:46 +0100
parents e26f49674956
children 2d9af08ed0ac
line wrap: on
line diff
--- a/code_part1/OSTC_code_c_part2/shared_definitions.h	Mon Jan 31 21:21:53 2011 +0100
+++ b/code_part1/OSTC_code_c_part2/shared_definitions.h	Tue Feb 01 00:24:46 2011 +0100
@@ -74,18 +74,11 @@
 bank2   udata_ovr  0x200
 #endif
 
-VAR_UINT  (int_O_GF_step);
 VAR_UINT  (int_O_gtissue_limit);
 VAR_UINT  (int_O_gtissue_press);
-VAR_UINT  (int_O_limit_GF_low);
-VAR_UINT  (int_O_gtissue_press_at_GF_low);
-VAR_UINT  (int_O_calc_tissue_call_counter);
 VAR_UINT  (int_O_desaturation_time);       // 
 VAR_UINT  (int_O_ascenttime);              // TTS (in minutes)
 
-VAR_UCHAR (char_O_GF_low_pointer);
-VAR_UCHAR (char_O_actual_pointer);
-
 VAR_UCHAR (char_O_nullzeit);               // 
 VAR_UCHAR (char_O_deco_status);            // 
 VAR_UCHAR (char_O_gradient_factor);        // 
@@ -101,7 +94,7 @@
 
 TAB_UCHAR (char_O_tissue_saturation, 0x20); // Compartiment desaturation time, in min.
 
-VAR_UINT  (int_O_DBS_bitfield);
+VAR_UINT  (int_O_DBS_bitfield);             // NOTE: 9 bytes dumped to divelog by store_dive_decodebug
 VAR_UINT  (int_O_DBS2_bitfield);
 VAR_UINT  (int_O_DBG_pre_bitfield);
 VAR_UINT  (int_O_DBG_post_bitfield);
@@ -119,7 +112,6 @@
 #endif
 
 VAR_UCHAR (char_I_step_is_1min);
-TAB_UCHAR (char_I_table_deco_done, 0x20);
 
 VAR_UINT  (int_I_pres_respiration);        // 
 VAR_UINT  (int_I_pres_surface);            //