]> git.tdb.fi Git - ext/subsurface.git/commit
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)
commita487f6c9314f0fe5e4173b670d9653067285da21
tree6a31b8e2d1064ccf7d54a76b48683f2a7fde7c86
parent18b8247cb357a9a716846854e451e306b752e542
More consistency improvements

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>
dive.c
dive.h
divelist.c