summaryrefslogtreecommitdiffstats
path: root/deco.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-08 08:52:48 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-08 08:52:48 -0800
commite3bdbb7c0f686050a68bbab1b1123c1ed3617d52 (patch)
tree7727b32d0a492506b9b69369eb4e13b65ee14130 /deco.c
parentbf395ebf45626eece9163dd387bce3dbbeb56a68 (diff)
downloadsubsurface-e3bdbb7c0f686050a68bbab1b1123c1ed3617d52.tar.gz
Fix gas handling in the planner
The dive will start with gas 0. If things change during the planned part of the dive, this will be represented by an event. Use the last gas for the ascent. Obviously this still doesn't handle deco gases, but at least we now no longer switch back to the first gas after the planned part of the dive. This also adds quite a bit of debugging code to be able to trace what's happening in the planner. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'deco.c')
0 files changed, 0 insertions, 0 deletions