summaryrefslogtreecommitdiffstats
path: root/translations
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-17 00:09:59 +0000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-17 00:09:59 +0000
commit3e5cb7e2aa00a13542ac6d02af3ef8ab639112d7 (patch)
tree57392a7b3270df9e84a4c9b1c9117b73abca0507 /translations
parentee7dd4307a442148598299db1152461b6cbf8270 (diff)
downloadsubsurface-3e5cb7e2aa00a13542ac6d02af3ef8ab639112d7.tar.gz
Fix per_cylinder_mean_depth calculation for CCR
This patch is bigger than necessary because I also renamed the get_cylinder_use() function to the much more accurate get_cylinder_idx_by_use(). If we have no gas changes (except for a possible explicit first gas), (which in the CCR case also means no bailout), this code will give you correct per cylinder depth and duration for oxygen and diluent and therefore create more reasonable gas consumption data for CCR dives. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'translations')
0 files changed, 0 insertions, 0 deletions