comparison src/p2_deco.c @ 255:ad62dff7739a

add bearing option to compass
author heinrichsweikamp
date Mon, 23 Mar 2015 17:07:57 +0100
parents 31088352ee32
children d1117b99fd99
comparison
equal deleted inserted replaced
254:5fe7aff622f3 255:ad62dff7739a
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