comparison code_part1/OSTC_code_c_part2/p2_deco.c @ 741:c498d6972087

minor cleanup
author heinrichsweikamp
date Sun, 04 Aug 2013 18:14:05 +0200
parents f555590f1419
children 7e7e98247a8a
comparison
equal deleted inserted replaced
740:7b1af8fc308d 741:c498d6972087
219 static float calc_He_ratio; // Simulated (switched) helium ratio. 219 static float calc_He_ratio; // Simulated (switched) helium ratio.
220 static float CNS_fraction; // new in v.101 220 static float CNS_fraction; // new in v.101
221 static float float_saturation_multiplier; // new in v.101 221 static float float_saturation_multiplier; // new in v.101
222 static float float_desaturation_multiplier; // new in v.101 222 static float float_desaturation_multiplier; // new in v.101
223 static float float_deco_distance; // new in v.101 223 static float float_deco_distance; // new in v.101
224 static char flag_in_divemode; // new in v.108
225 224
226 static unsigned char deco_gas_change[NUM_GAS]; // new in v.109 225 static unsigned char deco_gas_change[NUM_GAS]; // new in v.109
227 226
228 //---- Bank 6 parameters ----------------------------------------------------- 227 //---- Bank 6 parameters -----------------------------------------------------
229 #ifndef UNIX 228 #ifndef UNIX
996 // Note: fixed N2_ratio for standard air. 995 // Note: fixed N2_ratio for standard air.
997 // 996 //
998 static void clear_tissue(void) 997 static void clear_tissue(void)
999 { 998 {
1000 overlay float p; 999 overlay float p;
1001 flag_in_divemode = 0;
1002 1000
1003 // Kludge: the 0.0002 of 0.7902 are missing with standard air. 1001 // Kludge: the 0.0002 of 0.7902 are missing with standard air.
1004 N2_ratio = 0.7902; 1002 N2_ratio = 0.7902;
1005 pres_respiration = int_I_pres_respiration * 0.001; 1003 pres_respiration = int_I_pres_respiration * 0.001;
1006 1004