summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2013-02-24 11:39:51 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-24 11:48:29 -0800
commit7b20fb826c9f7ff2ad9d26526e6457a5b5d9b9d5 (patch)
treee0e47fa44346d54720133bc79ed112a002972070 /dive.h
parentb62e63650a3794a90f7af1aaee62b7fa7780b455 (diff)
downloadsubsurface-7b20fb826c9f7ff2ad9d26526e6457a5b5d9b9d5.tar.gz
Use the improved duration and average depth for everything
The code was written to get the SAC rate correct, but we probably do want to have the duration and mean depth of the dive always be shown for the non-surface-time. So move the code from the sac-rate calculation to the generic dive fixup part. This makes the dive list and statistics all show the duration as the under-water duration, which is not necessarily the same as "difference between beginning and end of dive". Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
0 files changed, 0 insertions, 0 deletions