comparison src/p2_deco.c @ 284:d1117b99fd99

preperations to compute gas consumtion in simulator
author heinrichsweikamp
date Thu, 28 May 2015 09:56:15 +0200
parents ad62dff7739a
children f342853afcd9
comparison
equal deleted inserted replaced
283:a2e19988e959 284:d1117b99fd99
2156 // CF#56 == bottom liters/minutes (5 .. 50) or bar/min. 2156 // CF#56 == bottom liters/minutes (5 .. 50) or bar/min.
2157 // CF#57 == deco liters/minutes (5 .. 50) or bar/min. 2157 // CF#57 == deco liters/minutes (5 .. 50) or bar/min.
2158 // Output: int_O_gas_volumes[0..4] in litters * 0.1 2158 // Output: int_O_gas_volumes[0..4] in litters * 0.1
2159 // 2159 //
2160 2160
2161 /* 2161
2162 void deco_gas_volumes(void) 2162 void deco_gas_volumes(void)
2163 { 2163 {
2164 overlay float volumes[NUM_GAS]; 2164 overlay float volumes[NUM_GAS];
2165 overlay float bottom_usage, deco_usage; 2165 overlay float bottom_usage, deco_usage;
2166 overlay unsigned char i; 2166 overlay unsigned char i;
2273 int_O_gas_volumes[i] = (unsigned short)(volumes[i] + 0.5); 2273 int_O_gas_volumes[i] = (unsigned short)(volumes[i] + 0.5);
2274 } 2274 }
2275 2275
2276 ////////////////////////////////////////////////////////////////////////////// 2276 //////////////////////////////////////////////////////////////////////////////
2277 2277
2278 */ 2278
2279 2279
2280 void deco_push_tissues_to_vault(void) 2280 void deco_push_tissues_to_vault(void)
2281 { 2281 {
2282 overlay unsigned char x; 2282 overlay unsigned char x;
2283 RESET_C_STACK 2283 RESET_C_STACK