]> git.tdb.fi Git - ext/subsurface.git/commitdiff
More consistency improvements
authorDirk Hohndel <dirk@hohndel.org>
Wed, 2 Nov 2011 02:56:14 +0000 (19:56 -0700)
committerDirk Hohndel <dirk@hohndel.org>
Wed, 2 Nov 2011 02:58:19 +0000 (19:58 -0700)
Treat SAC and OTU consistently:
- SAC is now a member of struct dive
- it's calculated / populated at the same time with a helper function with
  consistent API

Create get_volume_units function that returns volumes (e.g. used in SAC
rates) based on preferred units - make sure we have these conversions just
once in the code.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>

No differences found